Frameworks/libpurple.framework/Versions/0.5.6/Headers/msn.h
branchadium-1.3
changeset 350 708bedafdc3a
parent 349 17ef128722b7
child 351 b01ab9b157f9
     1.1 --- a/Frameworks/libpurple.framework/Versions/0.5.6/Headers/msn.h	Sun Jun 21 22:04:11 2009 -0400
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,149 +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 -/* #define MSN_DEBUG_MSG 1 */
    1.31 -/* #define MSN_DEBUG_SLPMSG 1 */
    1.32 -/* #define MSN_DEBUG_HTTP 1 */
    1.33 -
    1.34 -/* #define MSN_DEBUG_SLP 1 */
    1.35 -/* #define MSN_DEBUG_SLP_VERBOSE 1 */
    1.36 -/* #define MSN_DEBUG_SLP_FILES 1 */
    1.37 -
    1.38 -/* #define MSN_DEBUG_NS 1 */
    1.39 -/* #define MSN_DEBUG_SB 1 */
    1.40 -
    1.41 -#include "internal.h"
    1.42 -
    1.43 -#include "account.h"
    1.44 -#include "accountopt.h"
    1.45 -#include "blist.h"
    1.46 -#include "connection.h"
    1.47 -#include "conversation.h"
    1.48 -#include "debug.h"
    1.49 -#include "cipher.h"
    1.50 -#include "notify.h"
    1.51 -#include "privacy.h"
    1.52 -#include "proxy.h"
    1.53 -#include "prpl.h"
    1.54 -#include "request.h"
    1.55 -#include "servconn.h"
    1.56 -#include "sslconn.h"
    1.57 -#include "util.h"
    1.58 -
    1.59 -#include "ft.h"
    1.60 -
    1.61 -#include "msg.h"
    1.62 -
    1.63 -#define MSN_BUF_LEN 8192
    1.64 -
    1.65 -/* Windows Live Messenger Server*/
    1.66 -#define MSN_SERVER "messenger.hotmail.com"
    1.67 -#define MSN_HTTPCONN_SERVER "gateway.messenger.hotmail.com"
    1.68 -#define MSN_PORT 1863
    1.69 -#define WLM_PROT_VER		15
    1.70 -
    1.71 -#define WLM_MAX_PROTOCOL	15
    1.72 -#define WLM_MIN_PROTOCOL	15
    1.73 -
    1.74 -#define MSN_TYPING_RECV_TIMEOUT 6
    1.75 -#define MSN_TYPING_SEND_TIMEOUT	4
    1.76 -
    1.77 -#define PROFILE_URL "http://spaces.live.com/profile.aspx?mem="
    1.78 -#define PHOTO_URL	" contactparams:photopreauthurl=\""
    1.79 -
    1.80 -#define BUDDY_ALIAS_MAXLEN 387
    1.81 -
    1.82 -#define MSN_FT_GUID "5D3E02AB-6190-11D3-BBBB-00C04F795683"
    1.83 -#define MSN_OBJ_GUID "A4268EEC-FEC5-49E5-95C3-F126696BDBF6"
    1.84 -
    1.85 -#define MSN_CLIENTINFO \
    1.86 -	"Client-Name: Purple/" VERSION "\r\n" \
    1.87 -	"Chat-Logging: Y\r\n"
    1.88 -
    1.89 -/* Index into attention_types */
    1.90 -#define MSN_NUDGE 0
    1.91 -
    1.92 -typedef enum
    1.93 -{
    1.94 -	MSN_LIST_FL_OP = 0x01,
    1.95 -	MSN_LIST_AL_OP = 0x02,
    1.96 -	MSN_LIST_BL_OP = 0x04,
    1.97 -	MSN_LIST_RL_OP = 0x08,
    1.98 -	MSN_LIST_PL_OP = 0x10
    1.99 -
   1.100 -} MsnListOp;
   1.101 -#define MSN_LIST_OP_MASK	0x07
   1.102 -
   1.103 -typedef enum
   1.104 -{
   1.105 -	MSN_CLIENT_CAP_WIN_MOBILE = 0x000001,
   1.106 -	MSN_CLIENT_CAP_INK_GIF    = 0x000004,
   1.107 -	MSN_CLIENT_CAP_INK_ISF    = 0x000008,
   1.108 -	MSN_CLIENT_CAP_VIDEO_CHAT = 0x000010,
   1.109 -	MSN_CLIENT_CAP_PACKET     = 0x000020,
   1.110 -	MSN_CLIENT_CAP_MSNMOBILE  = 0x000040,
   1.111 -	MSN_CLIENT_CAP_MSNDIRECT  = 0x000080,
   1.112 -	MSN_CLIENT_CAP_WEBMSGR    = 0x000200,
   1.113 -	MSN_CLIENT_CAP_TGW        = 0x000800,
   1.114 -	MSN_CLIENT_CAP_SPACE      = 0x001000,
   1.115 -	MSN_CLIENT_CAP_MCE        = 0x002000,
   1.116 -	MSN_CLIENT_CAP_DIRECTIM   = 0x004000,
   1.117 -	MSN_CLIENT_CAP_WINKS      = 0x008000,
   1.118 -	MSN_CLIENT_CAP_SEARCH     = 0x010000,
   1.119 -	MSN_CLIENT_CAP_BOT        = 0x020000,
   1.120 -	MSN_CLIENT_CAP_VOICEIM    = 0x040000,
   1.121 -	MSN_CLIENT_CAP_SCHANNEL   = 0x080000,
   1.122 -	MSN_CLIENT_CAP_SIP_INVITE = 0x100000,
   1.123 -	MSN_CLIENT_CAP_SDRIVE     = 0x400000
   1.124 -
   1.125 -} MsnClientCaps;
   1.126 -
   1.127 -typedef enum
   1.128 -{
   1.129 -	MSN_CLIENT_VER_5_0 = 0x00,
   1.130 -	MSN_CLIENT_VER_6_0 = 0x10,	/* MSNC1 */
   1.131 -	MSN_CLIENT_VER_6_1 = 0x20,	/* MSNC2 */
   1.132 -	MSN_CLIENT_VER_6_2 = 0x30,	/* MSNC3 */
   1.133 -	MSN_CLIENT_VER_7_0 = 0x40,	/* MSNC4 */
   1.134 -	MSN_CLIENT_VER_7_5 = 0x50,	/* MSNC5 */
   1.135 -	MSN_CLIENT_VER_8_0 = 0x60,	/* MSNC6 */
   1.136 -	MSN_CLIENT_VER_8_1 = 0x70,	/* MSNC7 */
   1.137 -	MSN_CLIENT_VER_8_5 = 0x80	/* MSNC8 */
   1.138 -
   1.139 -} MsnClientVerId;
   1.140 -
   1.141 -#define MSN_CLIENT_ID_VERSION      MSN_CLIENT_VER_7_0
   1.142 -#define MSN_CLIENT_ID_CAPABILITIES MSN_CLIENT_CAP_PACKET
   1.143 -
   1.144 -#define MSN_CLIENT_ID \
   1.145 -	((MSN_CLIENT_ID_VERSION    << 24) | \
   1.146 -	 (MSN_CLIENT_ID_CAPABILITIES))
   1.147 -
   1.148 -void msn_act_id(PurpleConnection *gc, const char *entry);
   1.149 -void msn_send_privacy(PurpleConnection *gc);
   1.150 -void msn_send_im_message(MsnSession *session, MsnMessage *msg);
   1.151 -
   1.152 -#endif /* _MSN_H_ */