1.1 --- a/Frameworks/libpurple.framework/Versions/0.6.0/Headers/msn.h Fri Aug 21 13:24:36 2009 -0700
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,140 +0,0 @@
1.4 -/**
1.5 - * @file msn.h The MSN protocol plugin
1.6 - *
1.7 - * purple
1.8 - *
1.9 - * Purple is the legal property of its developers, whose names are too numerous
1.10 - * to list here. Please refer to the COPYRIGHT file distributed with this
1.11 - * source distribution.
1.12 - *
1.13 - * This program is free software; you can redistribute it and/or modify
1.14 - * it under the terms of the GNU General Public License as published by
1.15 - * the Free Software Foundation; either version 2 of the License, or
1.16 - * (at your option) any later version.
1.17 - *
1.18 - * This program is distributed in the hope that it will be useful,
1.19 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.20 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.21 - * GNU General Public License for more details.
1.22 - *
1.23 - * You should have received a copy of the GNU General Public License
1.24 - * along with this program; if not, write to the Free Software
1.25 - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
1.26 - */
1.27 -#ifndef _MSN_H_
1.28 -#define _MSN_H_
1.29 -
1.30 -#include "internal.h"
1.31 -
1.32 -#include "account.h"
1.33 -#include "accountopt.h"
1.34 -#include "blist.h"
1.35 -#include "connection.h"
1.36 -#include "conversation.h"
1.37 -#include "debug.h"
1.38 -#include "cipher.h"
1.39 -#include "notify.h"
1.40 -#include "privacy.h"
1.41 -#include "proxy.h"
1.42 -#include "prpl.h"
1.43 -#include "request.h"
1.44 -#include "servconn.h"
1.45 -#include "sslconn.h"
1.46 -#include "util.h"
1.47 -
1.48 -#include "ft.h"
1.49 -
1.50 -#include "msg.h"
1.51 -
1.52 -#define MSN_BUF_LEN 8192
1.53 -
1.54 -/* Windows Live Messenger Server*/
1.55 -#define MSN_SERVER "messenger.hotmail.com"
1.56 -#define MSN_HTTPCONN_SERVER "gateway.messenger.hotmail.com"
1.57 -#define MSN_PORT 1863
1.58 -#define WLM_PROT_VER 15
1.59 -
1.60 -#define WLM_MAX_PROTOCOL 15
1.61 -#define WLM_MIN_PROTOCOL 15
1.62 -
1.63 -#define MSN_TYPING_RECV_TIMEOUT 6
1.64 -#define MSN_TYPING_SEND_TIMEOUT 4
1.65 -
1.66 -#define PROFILE_URL "http://spaces.live.com/profile.aspx?mem="
1.67 -#define PHOTO_URL " contactparams:photopreauthurl=\""
1.68 -
1.69 -#define BUDDY_ALIAS_MAXLEN 387
1.70 -
1.71 -#define MSN_CAM_GUID "4BD96FC0-AB17-4425-A14A-439185962DC8"
1.72 -#define MSN_CAM_REQUEST_GUID "1C9AA97E-9C05-4583-A3BD-908A196F1E92"
1.73 -#define MSN_FT_GUID "5D3E02AB-6190-11D3-BBBB-00C04F795683"
1.74 -#define MSN_OBJ_GUID "A4268EEC-FEC5-49E5-95C3-F126696BDBF6"
1.75 -
1.76 -#define MSN_CLIENTINFO \
1.77 - "Client-Name: Purple/" VERSION "\r\n" \
1.78 - "Chat-Logging: Y\r\n"
1.79 -
1.80 -/* Index into attention_types */
1.81 -#define MSN_NUDGE 0
1.82 -
1.83 -typedef enum
1.84 -{
1.85 - MSN_LIST_FL_OP = 0x01,
1.86 - MSN_LIST_AL_OP = 0x02,
1.87 - MSN_LIST_BL_OP = 0x04,
1.88 - MSN_LIST_RL_OP = 0x08,
1.89 - MSN_LIST_PL_OP = 0x10
1.90 -
1.91 -} MsnListOp;
1.92 -#define MSN_LIST_OP_MASK 0x07
1.93 -
1.94 -typedef enum
1.95 -{
1.96 - MSN_CLIENT_CAP_WIN_MOBILE = 0x000001,
1.97 - MSN_CLIENT_CAP_INK_GIF = 0x000004,
1.98 - MSN_CLIENT_CAP_INK_ISF = 0x000008,
1.99 - MSN_CLIENT_CAP_VIDEO_CHAT = 0x000010,
1.100 - MSN_CLIENT_CAP_PACKET = 0x000020,
1.101 - MSN_CLIENT_CAP_MSNMOBILE = 0x000040,
1.102 - MSN_CLIENT_CAP_MSNDIRECT = 0x000080,
1.103 - MSN_CLIENT_CAP_WEBMSGR = 0x000200,
1.104 - MSN_CLIENT_CAP_TGW = 0x000800,
1.105 - MSN_CLIENT_CAP_SPACE = 0x001000,
1.106 - MSN_CLIENT_CAP_MCE = 0x002000,
1.107 - MSN_CLIENT_CAP_DIRECTIM = 0x004000,
1.108 - MSN_CLIENT_CAP_WINKS = 0x008000,
1.109 - MSN_CLIENT_CAP_SEARCH = 0x010000,
1.110 - MSN_CLIENT_CAP_BOT = 0x020000,
1.111 - MSN_CLIENT_CAP_VOICEIM = 0x040000,
1.112 - MSN_CLIENT_CAP_SCHANNEL = 0x080000,
1.113 - MSN_CLIENT_CAP_SIP_INVITE = 0x100000,
1.114 - MSN_CLIENT_CAP_SDRIVE = 0x400000
1.115 -
1.116 -} MsnClientCaps;
1.117 -
1.118 -typedef enum
1.119 -{
1.120 - MSN_CLIENT_VER_5_0 = 0x00,
1.121 - MSN_CLIENT_VER_6_0 = 0x10, /* MSNC1 */
1.122 - MSN_CLIENT_VER_6_1 = 0x20, /* MSNC2 */
1.123 - MSN_CLIENT_VER_6_2 = 0x30, /* MSNC3 */
1.124 - MSN_CLIENT_VER_7_0 = 0x40, /* MSNC4 */
1.125 - MSN_CLIENT_VER_7_5 = 0x50, /* MSNC5 */
1.126 - MSN_CLIENT_VER_8_0 = 0x60, /* MSNC6 */
1.127 - MSN_CLIENT_VER_8_1 = 0x70, /* MSNC7 */
1.128 - MSN_CLIENT_VER_8_5 = 0x80 /* MSNC8 */
1.129 -
1.130 -} MsnClientVerId;
1.131 -
1.132 -#define MSN_CLIENT_ID_VERSION MSN_CLIENT_VER_7_0
1.133 -#define MSN_CLIENT_ID_CAPABILITIES (MSN_CLIENT_CAP_PACKET|MSN_CLIENT_CAP_INK_GIF|MSN_CLIENT_CAP_VOICEIM|MSN_CLIENT_CAP_WINKS)
1.134 -
1.135 -#define MSN_CLIENT_ID \
1.136 - ((MSN_CLIENT_ID_VERSION << 24) | \
1.137 - (MSN_CLIENT_ID_CAPABILITIES))
1.138 -
1.139 -void msn_act_id(PurpleConnection *gc, const char *entry);
1.140 -void msn_send_privacy(PurpleConnection *gc);
1.141 -void msn_send_im_message(MsnSession *session, MsnMessage *msg);
1.142 -
1.143 -#endif /* _MSN_H_ */