Mercurial > pidgin
annotate plugins/yay/libyahoo-proto.h @ 1409:17e544f8c7fb
[gaim-migrate @ 1419]
no more hanging trees. also libyahoo updates.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 16 Jan 2001 02:02:32 +0000 |
parents | 0b0b4cb53c17 |
children |
rev | line source |
---|---|
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); | |
1409
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
11 char **yahoo_list2array(const char *buff); |
1054 | 12 void yahoo_arraykill(char **array); |
13 char *yahoo_array2list(char **array); | |
1409
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
14 struct yahoo_context *yahoo_init(const char *user, const char *password, struct yahoo_options *options); |
1054 | 15 void yahoo_free_context(struct yahoo_context *ctx); |
16 char *yahoo_get_status_string(int statuscode); | |
17 char *yahoo_get_status_append(int statuscode); | |
18 char *yahoo_get_service_string(int servicecode); | |
19 int yahoo_fetchcookies(struct yahoo_context *ctx); | |
1409
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
20 int yahoo_add_buddy(struct yahoo_context *ctx, const char *addid, const char *active_id, const char *group, const char *msg); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
21 int yahoo_remove_buddy(struct yahoo_context *ctx, const char *addid, const char *active_id, const char *group, const char *msg); |
1054 | 22 int yahoo_get_config(struct yahoo_context *ctx); |
23 int yahoo_cmd_logon(struct yahoo_context *ctx, unsigned int initial_status); | |
24 int yahoo_connect(struct yahoo_context *ctx); | |
1409
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
25 int yahoo_sendcmd_http(struct yahoo_context *ctx, struct yahoo_rawpacket *pkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
26 int yahoo_sendcmd(struct yahoo_context *ctx, int service, const char *active_nick, const char *content, unsigned int msgtype); |
1054 | 27 int yahoo_cmd_ping(struct yahoo_context *ctx); |
28 int yahoo_cmd_idle(struct yahoo_context *ctx); | |
1409
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
29 int yahoo_cmd_sendfile(struct yahoo_context *ctx, const char *active_user, const char *touser, const char *msg, const char *filename); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
30 int yahoo_cmd_msg(struct yahoo_context *ctx, const char *active_user, const char *touser, const char *msg); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
31 int yahoo_cmd_msg_offline(struct yahoo_context *ctx, const char *active_user, const char *touser, const char *msg); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
32 int yahoo_cmd_set_away_mode(struct yahoo_context *ctx, int status, const char *msg); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
33 int yahoo_cmd_set_back_mode(struct yahoo_context *ctx, int status, const char *msg); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
34 int yahoo_cmd_activate_id(struct yahoo_context *ctx, const char *newid); |
1054 | 35 int yahoo_cmd_user_status(struct yahoo_context *ctx); |
36 int yahoo_cmd_logoff(struct yahoo_context *ctx); | |
1409
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
37 int yahoo_cmd_start_conf(struct yahoo_context *ctx, const char *conf_id, char **userlist, const char *msg, int type); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
38 int yahoo_cmd_conf_logon(struct yahoo_context *ctx, const char *conf_id, const char *host, char **userlist); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
39 int yahoo_cmd_decline_conf(struct yahoo_context *ctx, const char *conf_id, const char *host, char **userlist, const char *msg); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
40 int yahoo_cmd_conf_logoff(struct yahoo_context *ctx, const char *conf_id, char **userlist); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
41 int yahoo_cmd_conf_invite(struct yahoo_context *ctx, const char *conf_id, char **userlist, const char *invited_user, const char *msg); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
42 int yahoo_cmd_conf_msg(struct yahoo_context *ctx, const char *conf_id, char **userlist, const char *msg); |
1054 | 43 void yahoo_free_rawpacket(struct yahoo_rawpacket *pkt); |
44 void yahoo_free_packet(struct yahoo_packet *pkt); | |
45 void yahoo_free_idstatus(struct yahoo_idstatus *idstatus); | |
1409
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
46 struct yahoo_packet *yahoo_parsepacket(struct yahoo_context *ctx, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
47 int yahoo_parsepacket_ping(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
48 int yahoo_parsepacket_newmail(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
49 int yahoo_parsepacket_grouprename(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
50 int yahoo_parsepacket_conference_invite(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
51 int yahoo_parsepacket_conference_decline(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
52 int yahoo_parsepacket_conference_addinvite(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
53 int yahoo_parsepacket_conference_msg(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
54 int yahoo_parsepacket_conference_user(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
55 int yahoo_parsepacket_filetransfer(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
56 int yahoo_parsepacket_calendar(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
57 int yahoo_parsepacket_chatinvite(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
58 int yahoo_parsepacket_newcontact(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
59 int yahoo_parsepacket_status(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
60 int yahoo_parsepacket_message(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
17e544f8c7fb
[gaim-migrate @ 1419]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1054
diff
changeset
|
61 int yahoo_parsepacket_message_offline(struct yahoo_context *ctx, struct yahoo_packet *pkt, struct yahoo_rawpacket *inpkt); |
1054 | 62 int yahoo_getdata(struct yahoo_context *ctx); |
63 struct yahoo_rawpacket *yahoo_getpacket(struct yahoo_context *ctx); | |
64 int yahoo_isbuddy(struct yahoo_context *ctx, const char *id); | |
65 void yahoo_freeaddressbook(struct yahoo_context *ctx); | |
66 int yahoo_fetchaddressbook(struct yahoo_context *ctx); | |
67 | |
68 #endif /* CFH_LIBYAHOO_PROTO */ |