Changeset 06aed9a for protocols/msn/msn.h
- Timestamp:
- 2012-10-01T22:51:39Z (11 years ago)
- Branches:
- master
- Children:
- 4fdb102
- Parents:
- a992d7a (diff), 4c9d377 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.h
ra992d7a r06aed9a 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-201 0Wilmer van der Gaast and others *4 * Copyright 2002-2012 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6 … … 53 53 */ 54 54 55 /* <= BitlBee 3.0.5 55 56 #define MSNP11_PROD_KEY "ILTXC!4IXB5FB*PX" 56 57 #define MSNP11_PROD_ID "PROD0119GSJUC$18" 57 #define MSNP_VER "MSNP15" 58 #define MSNP_BUILD "8.5.1288" 58 */ 59 60 #define MSNP11_PROD_KEY "C1BX{V4W}Q3*10SM" 61 #define MSNP11_PROD_ID "PROD0120PW!CCV9@" 62 #define MSNP_VER "MSNP18" 63 #define MSNP_BUILD "14.0.8117.416" 59 64 60 65 #define MSN_SB_NEW -24062002 66 67 #define MSN_CAP1 0xC000 68 #define MSN_CAP2 0x0000 61 69 62 70 #define MSN_MESSAGE_HEADERS "MIME-Version: 1.0\r\n" \ … … 118 126 char *tokens[4]; 119 127 char *lock_key, *pp_policy; 128 char *uuid; 120 129 121 130 GSList *msgq, *grpq, *soapq; … … 189 198 MSN_BUDDY_PL = 16, 190 199 MSN_BUDDY_ADL_SYNCED = 256, 200 MSN_BUDDY_FED = 512, 191 201 } msn_buddy_flags_t; 192 202 … … 222 232 223 233 /* ns.c */ 224 int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... ) ;234 int msn_ns_write( struct im_connection *ic, int fd, const char *fmt, ... ) G_GNUC_PRINTF( 3, 4 ); 225 235 gboolean msn_ns_connect( struct im_connection *ic, struct msn_handler_data *handler, const char *host, int port ); 226 236 void msn_ns_close( struct msn_handler_data *handler ); … … 228 238 void msn_auth_got_contact_list( struct im_connection *ic ); 229 239 int msn_ns_finish_login( struct im_connection *ic ); 240 int msn_ns_sendmessage( struct im_connection *ic, struct bee_user *bu, const char *text ); 241 void msn_ns_oim_send_queue( struct im_connection *ic, GSList **msgq ); 230 242 231 243 /* msn_util.c */ … … 242 254 struct msn_group *msn_group_by_id( struct im_connection *ic, const char *id ); 243 255 int msn_ns_set_display_name( struct im_connection *ic, const char *value ); 256 const char *msn_normalize_handle( const char *handle ); 244 257 245 258 /* tables.c */ … … 250 263 251 264 /* sb.c */ 252 int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... ) ;265 int msn_sb_write( struct msn_switchboard *sb, const char *fmt, ... ) G_GNUC_PRINTF( 2, 3 );; 253 266 struct msn_switchboard *msn_sb_create( struct im_connection *ic, char *host, int port, char *key, int session ); 254 struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, c har *handle );267 struct msn_switchboard *msn_sb_by_handle( struct im_connection *ic, const char *handle ); 255 268 struct msn_switchboard *msn_sb_by_chat( struct groupchat *c ); 256 269 struct msn_switchboard *msn_sb_spare( struct im_connection *ic );
Note: See TracChangeset
for help on using the changeset viewer.