Mercurial > pidgin
annotate src/server.h @ 11531:bf763a1b2454
[gaim-migrate @ 13780]
(13:57:11) rlaager: LSchiere2: Should we just change gaim_notify_userinfo
to take a screenname and eliminate all the duplication of "Buddy
Information" and "Info for %s"?
(13:57:18) LSchiere2: sounds good
This breaks perl, I could not figure out how to fix that.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 12 Sep 2005 18:46:15 +0000 |
parents | 90be432e8385 |
children | eb14bbcf7249 |
rev | line source |
---|---|
5872 | 1 /** |
2 * @file server.h Server API | |
3 * @ingroup core | |
4 * | |
5 * gaim | |
6 * | |
8046 | 7 * Gaim is the legal property of its developers, whose names are too numerous |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
6787
faa491042c66
[gaim-migrate @ 7326]
Christian Hammond <chipx86@chipx86.com>
parents:
6695
diff
changeset
|
10 * |
5872 | 11 * This program is free software; you can redistribute it and/or modify |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 #ifndef _GAIM_SERVER_H_ | |
26 #define _GAIM_SERVER_H_ | |
27 | |
28 #include "account.h" | |
29 #include "conversation.h" | |
9718 | 30 #include "prpl.h" |
5872 | 31 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
32 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
33 extern "C" { |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
34 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
35 |
5872 | 36 void serv_touch_idle(GaimConnection *); |
7118
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
7032
diff
changeset
|
37 int serv_send_im(GaimConnection *, const char *, const char *, GaimConvImFlags); |
6059 | 38 void serv_get_info(GaimConnection *, const char *); |
5872 | 39 void serv_set_idle(GaimConnection *, int); |
5954 | 40 void serv_set_info(GaimConnection *, const char *); |
6059 | 41 int serv_send_typing(GaimConnection *, const char *, int); |
5872 | 42 void serv_change_passwd(GaimConnection *, const char *, const char *); |
9285 | 43 void serv_add_buddy(GaimConnection *, GaimBuddy *); |
5872 | 44 void serv_add_buddies(GaimConnection *, GList *); |
9285 | 45 void serv_remove_buddy(GaimConnection *, GaimBuddy *, GaimGroup *); |
46 void serv_remove_buddies(GaimConnection *, GList *, GList *); | |
47 void serv_remove_group(GaimConnection *, GaimGroup *); | |
48 void serv_move_buddy(GaimBuddy *, GaimGroup *, GaimGroup *); | |
5872 | 49 void serv_add_permit(GaimConnection *, const char *); |
50 void serv_add_deny(GaimConnection *, const char *); | |
51 void serv_rem_permit(GaimConnection *, const char *); | |
52 void serv_rem_deny(GaimConnection *, const char *); | |
53 void serv_set_permit_deny(GaimConnection *); | |
54 void serv_join_chat(GaimConnection *, GHashTable *); | |
8562 | 55 void serv_reject_chat(GaimConnection *, GHashTable *); |
5872 | 56 void serv_chat_invite(GaimConnection *, int, const char *, const char *); |
57 void serv_chat_leave(GaimConnection *, int); | |
6059 | 58 void serv_chat_whisper(GaimConnection *, int, const char *, const char *); |
59 int serv_chat_send(GaimConnection *, int, const char *); | |
6695 | 60 void serv_alias_buddy(GaimBuddy *); |
5872 | 61 void serv_got_alias(GaimConnection *gc, const char *who, const char *alias); |
62 void serv_got_typing(GaimConnection *gc, const char *name, int timeout, | |
63 GaimTypingState state); | |
64 void serv_set_buddyicon(GaimConnection *gc, const char *filename); | |
65 void serv_got_typing_stopped(GaimConnection *gc, const char *name); | |
66 void serv_got_im(GaimConnection *gc, const char *who, const char *msg, | |
7118
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
7032
diff
changeset
|
67 GaimConvImFlags imflags, time_t mtime); |
5872 | 68 void serv_got_chat_invite(GaimConnection *gc, const char *name, |
69 const char *who, const char *message, | |
70 GHashTable *data); | |
71 GaimConversation *serv_got_joined_chat(GaimConnection *gc, | |
72 int id, const char *name); | |
73 void serv_got_chat_left(GaimConnection *g, int id); | |
6059 | 74 void serv_got_chat_in(GaimConnection *g, int id, const char *who, |
9584 | 75 GaimConvChatFlags chatflags, const char *message, time_t mtime); |
9466 | 76 void serv_send_file(GaimConnection *gc, const char *who, const char *file); |
5872 | 77 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
78 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
79 } |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
80 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
81 |
5872 | 82 #endif /* _GAIM_SERVER_H_ */ |