comparison libpurple/protocols/oscar/oscar.h @ 25438:4b8c4870b13a

propagate from branch 'im.pidgin.pidgin.next.minor' (head 7305b29db7bd00d3261f348c71674c93aa31b327) to branch 'im.pidgin.pidgin' (head d8c03c68d591d9392607d954942ee58b8618d946)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 02 Mar 2009 04:18:40 +0000
parents 8c8948b9f602 0f2503390a6b
children 3f3d21ae1825 d8e6a2d592a4
comparison
equal deleted inserted replaced
25437:8998ca47e6d0 25438:4b8c4870b13a
284 0x0000, 0x0bb8, \ 284 0x0000, 0x0bb8, \
285 0x0000043d, \ 285 0x0000043d, \
286 "us", "en", \ 286 "us", "en", \
287 } 287 }
288 288
289 #define CLIENTINFO_ICQBASIC_14_34_3096 { \
290 "ICQBasic", \
291 0x010a, \
292 0x0014, 0x0034, \
293 0x0000, 0x0c18, \
294 0x0000043d, \
295 "us", "en", \
296 }
297
289 #define CLIENTINFO_NETSCAPE_7_0_1 { \ 298 #define CLIENTINFO_NETSCAPE_7_0_1 { \
290 "Netscape 2000 an approved user of AOL Instant Messenger (SM)", \ 299 "Netscape 2000 an approved user of AOL Instant Messenger (SM)", \
291 0x1d0d, \ 300 0x1d0d, \
292 0x0007, 0x0000, \ 301 0x0007, 0x0000, \
293 0x0001, 0x0000, \ 302 0x0001, 0x0000, \
310 } 319 }
311 320
312 #define CLIENTINFO_PURPLE_ICQ { \ 321 #define CLIENTINFO_PURPLE_ICQ { \
313 "Purple/" VERSION, \ 322 "Purple/" VERSION, \
314 0x010a, \ 323 0x010a, \
315 0x0006, 0x0000, \ 324 0x0014, 0x0034, \
316 0x0000, 0x17ab, \ 325 0x0000, 0x0c18, \
317 0x00007535, \ 326 0x0000043d, \
318 "us", "en", \ 327 "us", "en", \
319 } 328 }
320 329
321 #define CLIENTINFO_AIM_KNOWNGOOD CLIENTINFO_AIM_5_1_3036 330 #define CLIENTINFO_AIM_KNOWNGOOD CLIENTINFO_AIM_5_1_3036
322 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQBASIC_14_34_3000 331 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQBASIC_14_34_3096
323 332
324 typedef enum 333 typedef enum
325 { 334 {
326 OSCAR_DISCONNECT_DONE, /* not considered an error */ 335 OSCAR_DISCONNECT_DONE, /* not considered an error */
327 OSCAR_DISCONNECT_LOCAL_CLOSED, /* peer connections only, not considered an error */ 336 OSCAR_DISCONNECT_LOCAL_CLOSED, /* peer connections only, not considered an error */
539 /** A linked list containing FlapConnections. */ 548 /** A linked list containing FlapConnections. */
540 GSList *oscar_connections; 549 GSList *oscar_connections;
541 550
542 /** A linked list containing PeerConnections. */ 551 /** A linked list containing PeerConnections. */
543 GSList *peer_connections; 552 GSList *peer_connections;
544
545 /** Queue of ICQ Status Notes to request. */
546 GSList *statusnotes_queue;
547 guint statusnotes_queue_timer;
548 }; 553 };
549 554
550 /* Valid for calling aim_icq_setstatus() and for aim_userinfo_t->icqinfo.status */ 555 /* Valid for calling aim_icq_setstatus() and for aim_userinfo_t->icqinfo.status */
551 #define AIM_ICQ_STATE_NORMAL 0x00000000 556 #define AIM_ICQ_STATE_NORMAL 0x00000000
552 #define AIM_ICQ_STATE_AWAY 0x00000001 557 #define AIM_ICQ_STATE_AWAY 0x00000001
1358 int aim_icq_changepasswd(OscarData *od, const char *passwd); 1363 int aim_icq_changepasswd(OscarData *od, const char *passwd);
1359 int aim_icq_getsimpleinfo(OscarData *od, const char *uin); 1364 int aim_icq_getsimpleinfo(OscarData *od, const char *uin);
1360 int aim_icq_getalias(OscarData *od, const char *uin); 1365 int aim_icq_getalias(OscarData *od, const char *uin);
1361 int aim_icq_getallinfo(OscarData *od, const char *uin); 1366 int aim_icq_getallinfo(OscarData *od, const char *uin);
1362 int aim_icq_sendsms(OscarData *od, const char *name, const char *msg, const char *alias); 1367 int aim_icq_sendsms(OscarData *od, const char *name, const char *msg, const char *alias);
1363 int aim_icq_getstatusnote(OscarData *od, const char *uin, guint8 *note_hash, guint16 note_hash_len);
1364 1368
1365 1369
1366 /* 0x0017 - family_auth.c */ 1370 /* 0x0017 - family_auth.c */
1367 void aim_sendcookie(OscarData *, FlapConnection *, const guint16 length, const guint8 *); 1371 void aim_sendcookie(OscarData *, FlapConnection *, const guint16 length, const guint8 *);
1368 void aim_admin_changepasswd(OscarData *, FlapConnection *, const char *newpw, const char *curpw); 1372 void aim_admin_changepasswd(OscarData *, FlapConnection *, const char *newpw, const char *curpw);