Mercurial > pidgin.yaz
comparison libfaim/faim/aim.h @ 960:fa681641643d
[gaim-migrate @ 970]
*** MULTIPLE-CONNECTIONS ***
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 10 Oct 2000 00:02:02 +0000 |
parents | 5e6ca3dd4d02 |
children | 1d8f05ea6bdf |
comparison
equal
deleted
inserted
replaced
959:034d5d1d53eb | 960:fa681641643d |
---|---|
274 u_int sent; /* 0 = pending, !0 = has been sent */ | 274 u_int sent; /* 0 = pending, !0 = has been sent */ |
275 struct aim_conn_t *conn; | 275 struct aim_conn_t *conn; |
276 struct command_tx_struct *next; /* ptr to next struct in list */ | 276 struct command_tx_struct *next; /* ptr to next struct in list */ |
277 }; | 277 }; |
278 | 278 |
279 /* | |
280 * OFT session: random oft cruft, per-session. | |
281 * | |
282 */ | |
283 struct aim_oft_session_t { | |
284 FILE *listing; | |
285 char *listingdir; | |
286 }; | |
279 | 287 |
280 /* | 288 /* |
281 * AIM Session: The main client-data interface. | 289 * AIM Session: The main client-data interface. |
282 * | 290 * |
283 */ | 291 */ |
294 * Pointer to anything the client wants to | 302 * Pointer to anything the client wants to |
295 * explicitly associate with this session. | 303 * explicitly associate with this session. |
296 */ | 304 */ |
297 void *aux_data; | 305 void *aux_data; |
298 | 306 |
307 /* | |
308 * OFT Data | |
309 */ | |
310 | |
311 struct aim_oft_session_t oft; | |
299 | 312 |
300 /* ---- Internal Use Only ------------------------ */ | 313 /* ---- Internal Use Only ------------------------ */ |
301 /* | 314 /* |
302 * Connection information | 315 * Connection information |
303 */ | 316 */ |
532 faim_export unsigned long aim_bos_reqicbmparaminfo(struct aim_session_t *, struct aim_conn_t *); | 545 faim_export unsigned long aim_bos_reqicbmparaminfo(struct aim_session_t *, struct aim_conn_t *); |
533 faim_export unsigned long aim_addicbmparam(struct aim_session_t *sess,struct aim_conn_t *conn); | 546 faim_export unsigned long aim_addicbmparam(struct aim_session_t *sess,struct aim_conn_t *conn); |
534 faim_export unsigned long aim_setversions(struct aim_session_t *sess, struct aim_conn_t *conn); | 547 faim_export unsigned long aim_setversions(struct aim_session_t *sess, struct aim_conn_t *conn); |
535 faim_export unsigned long aim_setdirectoryinfo(struct aim_session_t *sess, struct aim_conn_t *conn, char *first, char *middle, char *last, char *maiden, char *nickname, char *street, char *city, char *state, char *zip, int country, unsigned short privacy); | 548 faim_export unsigned long aim_setdirectoryinfo(struct aim_session_t *sess, struct aim_conn_t *conn, char *first, char *middle, char *last, char *maiden, char *nickname, char *street, char *city, char *state, char *zip, int country, unsigned short privacy); |
536 faim_export unsigned long aim_setuserinterests(struct aim_session_t *sess, struct aim_conn_t *conn, char *interest1, char *interest2, char *interest3, char *interest4, char *interest5, unsigned short privacy); | 549 faim_export unsigned long aim_setuserinterests(struct aim_session_t *sess, struct aim_conn_t *conn, char *interest1, char *interest2, char *interest3, char *interest4, char *interest5, unsigned short privacy); |
537 | 550 faim_export unsigned long aim_icq_setstatus(struct aim_session_t *sess, struct aim_conn_t *conn, unsigned long status); |
538 faim_internal struct aim_fileheader_t *aim_getlisting(struct aim_session_t*); | 551 |
552 faim_internal struct aim_fileheader_t *aim_getlisting(FILE *); | |
553 faim_internal int aim_oft_buildheader(char *,struct aim_fileheader_t *); | |
539 faim_internal int aim_listenestablish(u_short); | 554 faim_internal int aim_listenestablish(u_short); |
555 faim_internal int aim_tx_destroy(struct command_tx_struct *); | |
540 | 556 |
541 /* aim_rxhandlers.c */ | 557 /* aim_rxhandlers.c */ |
542 faim_export int aim_rxdispatch(struct aim_session_t *); | 558 faim_export int aim_rxdispatch(struct aim_session_t *); |
543 faim_internal int aim_authparse(struct aim_session_t *, struct command_rx_struct *); | 559 faim_internal int aim_authparse(struct aim_session_t *, struct command_rx_struct *); |
544 faim_internal int aim_handleredirect_middle(struct aim_session_t *, struct command_rx_struct *, ...); | 560 faim_internal int aim_handleredirect_middle(struct aim_session_t *, struct command_rx_struct *, ...); |
669 | 685 |
670 #define AIM_TRANSFER_DENY_NOTSUPPORTED 0x0000 | 686 #define AIM_TRANSFER_DENY_NOTSUPPORTED 0x0000 |
671 #define AIM_TRANSFER_DENY_DECLINE 0x0001 | 687 #define AIM_TRANSFER_DENY_DECLINE 0x0001 |
672 #define AIM_TRANSFER_DENY_NOTACCEPTING 0x0002 | 688 #define AIM_TRANSFER_DENY_NOTACCEPTING 0x0002 |
673 faim_export unsigned long aim_denytransfer(struct aim_session_t *sess, struct aim_conn_t *conn, char *sender, char *cookie, unsigned short code); | 689 faim_export unsigned long aim_denytransfer(struct aim_session_t *sess, struct aim_conn_t *conn, char *sender, char *cookie, unsigned short code); |
674 faim_export unsigned long aim_accepttransfer(struct aim_session_t *sess, struct aim_conn_t *conn,struct aim_conn_t *oftconn, char *sender, char *cookie, unsigned short rendid); | 690 faim_export struct aim_conn_t *aim_accepttransfer(struct aim_session_t *sess, struct aim_conn_t *conn, char *sn,char *cookie,char *ip, FILE *file, unsigned short rendid); |
691 | |
675 | 692 |
676 faim_export unsigned long aim_getinfo(struct aim_session_t *, struct aim_conn_t *, const char *, unsigned short); | 693 faim_export unsigned long aim_getinfo(struct aim_session_t *, struct aim_conn_t *, const char *, unsigned short); |
677 faim_internal int aim_extractuserinfo(u_char *, struct aim_userinfo_s *); | 694 faim_internal int aim_extractuserinfo(u_char *, struct aim_userinfo_s *); |
678 faim_internal int aim_parse_userinfo_middle(struct aim_session_t *, struct command_rx_struct *); | 695 faim_internal int aim_parse_userinfo_middle(struct aim_session_t *, struct command_rx_struct *); |
679 faim_internal int aim_parse_oncoming_middle(struct aim_session_t *, struct command_rx_struct *); | 696 faim_internal int aim_parse_oncoming_middle(struct aim_session_t *, struct command_rx_struct *); |