comparison libfaim/aim_buddylist.c @ 840:595ac7759563

[gaim-migrate @ 850] lots of (mostly useless for us) libfaim changes. should help portability, but it was always portable between unices.... stupid win32ers. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 04 Sep 2000 23:37:32 +0000
parents 88f8f98de02d
children 920c86b753d7
comparison
equal deleted inserted replaced
839:8f66e00af045 840:595ac7759563
5 * aim_add_buddy() 5 * aim_add_buddy()
6 * 6 *
7 * Adds a single buddy to your buddy list after login. 7 * Adds a single buddy to your buddy list after login.
8 * 8 *
9 */ 9 */
10 u_long aim_add_buddy(struct aim_session_t *sess, 10 faim_export unsigned long aim_add_buddy(struct aim_session_t *sess,
11 struct aim_conn_t *conn, 11 struct aim_conn_t *conn,
12 char *sn ) 12 char *sn )
13 { 13 {
14 struct command_tx_struct *newpacket; 14 struct command_tx_struct *newpacket;
15 int i; 15 int i;
16 16
17 if(!sn) 17 if(!sn)
45 #endif 45 #endif
46 46
47 return( sess->snac_nextid++ ); 47 return( sess->snac_nextid++ );
48 } 48 }
49 49
50 u_long aim_remove_buddy(struct aim_session_t *sess, 50 faim_export unsigned long aim_remove_buddy(struct aim_session_t *sess,
51 struct aim_conn_t *conn, 51 struct aim_conn_t *conn,
52 char *sn ) 52 char *sn )
53 { 53 {
54 struct command_tx_struct *newpacket; 54 struct command_tx_struct *newpacket;
55 int i; 55 int i;
56 56
57 if(!sn) 57 if(!sn)
84 } 84 }
85 85
86 return( sess->snac_nextid++ ); 86 return( sess->snac_nextid++ );
87 } 87 }
88 88
89 int aim_parse_buddyrights(struct aim_session_t *sess, 89 faim_internal int aim_parse_buddyrights(struct aim_session_t *sess,
90 struct command_rx_struct *command, ...) 90 struct command_rx_struct *command, ...)
91 { 91 {
92 rxcallback_t userfunc = NULL; 92 rxcallback_t userfunc = NULL;
93 int ret=1; 93 int ret=1;
94 struct aim_tlvlist_t *tlvlist; 94 struct aim_tlvlist_t *tlvlist;
95 struct aim_tlv_t *tlv; 95 struct aim_tlv_t *tlv;