Sun, 07 Jan 2001 20:39:03 +0000
[gaim-migrate @ 1402]
erg
| 1054 | 1 | /* This is a Cfunctions (version 0.24) generated header file. |
| 2 | Cfunctions is a free program for extracting headers from C files. | |
| 3 | Get Cfunctions from `http://www.hayamasa.demon.co.uk/cfunctions'. */ | |
| 4 | ||
| 5 | /* This file was generated with: | |
| 6 | `cfunctions -w LIBYAHOO_PROTO -o ./libyahoo-proto.h' */ | |
| 7 | #ifndef CFH_LIBYAHOO_PROTO | |
| 8 | #define CFH_LIBYAHOO_PROTO | |
| 9 | ||
| 10 | unsigned int yahoo_makeint(unsigned char *data); | |
| 11 | char **yahoo_list2array(char *buff); | |
| 12 | void yahoo_arraykill(char **array); | |
| 13 | char *yahoo_array2list(char **array); | |
| 14 | struct yahoo_context *yahoo_init(char *user, char *password, | |
| 15 | ||
| 16 | struct yahoo_options *options); | |
| 17 | void yahoo_free_context(struct yahoo_context *ctx); | |
| 18 | char *yahoo_get_status_string(int statuscode); | |
| 19 | char *yahoo_get_status_append(int statuscode); | |
| 20 | char *yahoo_get_service_string(int servicecode); | |
| 21 | int yahoo_fetchcookies(struct yahoo_context *ctx); | |
| 22 | int yahoo_add_buddy(struct yahoo_context *ctx, char *addid, char *active_id, | |
| 23 | char *group, char *msg); | |
| 24 | int yahoo_remove_buddy(struct yahoo_context *ctx, char *addid, | |
| 25 | char *active_id, char *group, char *msg); | |
| 26 | int yahoo_get_config(struct yahoo_context *ctx); | |
| 27 | int yahoo_cmd_logon(struct yahoo_context *ctx, unsigned int initial_status); | |
| 28 | int yahoo_connect(struct yahoo_context *ctx); | |
| 29 | int yahoo_sendcmd_http(struct yahoo_context *ctx, | |
| 30 | ||
| 31 | struct yahoo_rawpacket *pkt); | |
| 32 | int yahoo_sendcmd(struct yahoo_context *ctx, int service, char *active_nick, | |
| 33 | char *content, unsigned int msgtype); | |
| 34 | int yahoo_cmd_ping(struct yahoo_context *ctx); | |
| 35 | int yahoo_cmd_idle(struct yahoo_context *ctx); | |
| 36 | int yahoo_cmd_sendfile(struct yahoo_context *ctx, char *active_user, | |
| 37 | char *touser, char *msg, char *filename); | |
| 38 | int yahoo_cmd_msg(struct yahoo_context *ctx, char *active_user, char *touser, | |
| 39 | ||
| 40 | char *msg); | |
| 41 | int yahoo_cmd_msg_offline(struct yahoo_context *ctx, char *active_user, | |
| 42 | char *touser, char *msg); | |
| 43 | int yahoo_cmd_set_away_mode(struct yahoo_context *ctx, int status, char *msg); | |
| 44 | int yahoo_cmd_set_back_mode(struct yahoo_context *ctx, int status, char *msg); | |
| 45 | int yahoo_cmd_activate_id(struct yahoo_context *ctx, char *newid); | |
| 46 | int yahoo_cmd_user_status(struct yahoo_context *ctx); | |
| 47 | int yahoo_cmd_logoff(struct yahoo_context *ctx); | |
| 48 | int yahoo_cmd_start_conf(struct yahoo_context *ctx, char *conf_id, | |
| 49 | char **userlist, char *msg, int type); | |
| 50 | int yahoo_cmd_conf_logon(struct yahoo_context *ctx, char *conf_id, | |
| 51 | ||
| 52 | char *host, char **userlist); | |
| 53 | int yahoo_cmd_decline_conf(struct yahoo_context *ctx, char *conf_id, | |
| 54 | char *host, char **userlist, char *msg); | |
| 55 | int yahoo_cmd_conf_logoff(struct yahoo_context *ctx, char *conf_id, | |
| 56 | ||
| 57 | char **userlist); | |
| 58 | int yahoo_cmd_conf_invite(struct yahoo_context *ctx, char *conf_id, | |
| 59 | char **userlist, char *invited_user, char *msg); | |
| 60 | int yahoo_cmd_conf_msg(struct yahoo_context *ctx, char *conf_id, | |
| 61 | char **userlist, char *msg); | |
| 62 | void yahoo_free_rawpacket(struct yahoo_rawpacket *pkt); | |
| 63 | void yahoo_free_packet(struct yahoo_packet *pkt); | |
| 64 | void yahoo_free_idstatus(struct yahoo_idstatus *idstatus); | |
| 65 | struct yahoo_packet *yahoo_parsepacket(struct yahoo_context *ctx, | |
| 66 | ||
| 67 | struct yahoo_rawpacket *inpkt); | |
| 68 | int yahoo_parsepacket_ping(struct yahoo_context *ctx, | |
| 69 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 70 | int yahoo_parsepacket_newmail(struct yahoo_context *ctx, | |
| 71 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 72 | int yahoo_parsepacket_grouprename(struct yahoo_context *ctx, | |
| 73 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 74 | int yahoo_parsepacket_conference_invite(struct yahoo_context *ctx, | |
| 75 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 76 | int yahoo_parsepacket_conference_decline(struct yahoo_context *ctx, | |
| 77 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 78 | int yahoo_parsepacket_conference_addinvite(struct yahoo_context *ctx, | |
| 79 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 80 | int yahoo_parsepacket_conference_msg(struct yahoo_context *ctx, | |
| 81 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 82 | int yahoo_parsepacket_conference_user(struct yahoo_context *ctx, | |
| 83 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 84 | int yahoo_parsepacket_filetransfer(struct yahoo_context *ctx, | |
| 85 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 86 | int yahoo_parsepacket_calendar(struct yahoo_context *ctx, | |
| 87 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 88 | int yahoo_parsepacket_chatinvite(struct yahoo_context *ctx, | |
| 89 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 90 | int yahoo_parsepacket_newcontact(struct yahoo_context *ctx, | |
| 91 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 92 | int yahoo_parsepacket_status(struct yahoo_context *ctx, | |
| 93 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 94 | int yahoo_parsepacket_message(struct yahoo_context *ctx, | |
| 95 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 96 | int yahoo_parsepacket_message_offline(struct yahoo_context *ctx, | |
| 97 | struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); | |
| 98 | int yahoo_getdata(struct yahoo_context *ctx); | |
| 99 | struct yahoo_rawpacket *yahoo_getpacket(struct yahoo_context *ctx); | |
| 100 | int yahoo_isbuddy(struct yahoo_context *ctx, const char *id); | |
| 101 | void yahoo_freeaddressbook(struct yahoo_context *ctx); | |
| 102 | int yahoo_fetchaddressbook(struct yahoo_context *ctx); | |
| 103 | ||
| 104 | #endif /* CFH_LIBYAHOO_PROTO */ |