Mercurial > pidgin.yaz
annotate src/server.h @ 9580:b8d8571877df
[gaim-migrate @ 10423]
"I have attached two i18n patches:
i18n68.patch:
- added src/protocols/yahoo/ycht.c to po/POTFILES.in
i18n69.patch:
- added POTFILES.in.noi18n to po/.cvsignore
- a POTFILES.in.noi18n file will be placed in po/ if "update.pl -M"
detects files in po/POTFILES.in which do not contain any i18n string"
--Bjoern Voigt
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 23 Jul 2004 12:25:01 +0000 |
parents | d27156c9c876 |
children | fe35f55ee984 |
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 /* | |
29 * Really user states are controlled by the PRPLs now. We just | |
30 * use this for event_away | |
31 */ | |
32 #define UC_UNAVAILABLE 1 | |
33 | |
34 #include "account.h" | |
35 #include "conversation.h" | |
36 | |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
37 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
38 extern "C" { |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
39 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
40 |
5872 | 41 void serv_login(GaimAccount *); |
42 void serv_close(GaimConnection *); | |
43 void serv_touch_idle(GaimConnection *); | |
7118
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
7032
diff
changeset
|
44 int serv_send_im(GaimConnection *, const char *, const char *, GaimConvImFlags); |
6059 | 45 void serv_get_info(GaimConnection *, const char *); |
46 void serv_get_dir(GaimConnection *, const char *); | |
5872 | 47 void serv_set_idle(GaimConnection *, int); |
5954 | 48 void serv_set_info(GaimConnection *, const char *); |
6059 | 49 void serv_set_away(GaimConnection *, const char *, const char *); |
50 void serv_set_away_all(const char *); | |
51 int serv_send_typing(GaimConnection *, const char *, int); | |
5872 | 52 void serv_change_passwd(GaimConnection *, const char *, const char *); |
9285 | 53 void serv_add_buddy(GaimConnection *, GaimBuddy *); |
5872 | 54 void serv_add_buddies(GaimConnection *, GList *); |
9285 | 55 void serv_remove_buddy(GaimConnection *, GaimBuddy *, GaimGroup *); |
56 void serv_remove_buddies(GaimConnection *, GList *, GList *); | |
57 void serv_remove_group(GaimConnection *, GaimGroup *); | |
58 void serv_move_buddy(GaimBuddy *, GaimGroup *, GaimGroup *); | |
59 void serv_rename_group(GaimConnection *, const char *, GaimGroup *, GList *); | |
5872 | 60 void serv_add_permit(GaimConnection *, const char *); |
61 void serv_add_deny(GaimConnection *, const char *); | |
62 void serv_rem_permit(GaimConnection *, const char *); | |
63 void serv_rem_deny(GaimConnection *, const char *); | |
64 void serv_set_permit_deny(GaimConnection *); | |
6059 | 65 void serv_warn(GaimConnection *, const char *, int); |
5872 | 66 void serv_set_dir(GaimConnection *, const char *, const char *, |
67 const char *, const char *, const char *, | |
68 const char *, const char *, int); | |
69 void serv_dir_search(GaimConnection *, const char *, const char *, | |
70 const char *, const char *, const char *, const char *, | |
71 const char *, const char *); | |
72 void serv_join_chat(GaimConnection *, GHashTable *); | |
8562 | 73 void serv_reject_chat(GaimConnection *, GHashTable *); |
5872 | 74 void serv_chat_invite(GaimConnection *, int, const char *, const char *); |
75 void serv_chat_leave(GaimConnection *, int); | |
6059 | 76 void serv_chat_whisper(GaimConnection *, int, const char *, const char *); |
77 int serv_chat_send(GaimConnection *, int, const char *); | |
6695 | 78 void serv_alias_buddy(GaimBuddy *); |
5872 | 79 void serv_got_alias(GaimConnection *gc, const char *who, const char *alias); |
80 void serv_got_eviled(GaimConnection *gc, const char *name, int lev); | |
81 void serv_got_typing(GaimConnection *gc, const char *name, int timeout, | |
82 GaimTypingState state); | |
83 void serv_set_buddyicon(GaimConnection *gc, const char *filename); | |
84 void serv_got_typing_stopped(GaimConnection *gc, const char *name); | |
85 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
|
86 GaimConvImFlags imflags, time_t mtime); |
5872 | 87 void serv_got_update(GaimConnection *gc, const char *name, int loggedin, |
88 int evil, time_t signon, time_t idle, int type); | |
89 void serv_finish_login(GaimConnection *gc); | |
90 void serv_got_chat_invite(GaimConnection *gc, const char *name, | |
91 const char *who, const char *message, | |
92 GHashTable *data); | |
93 GaimConversation *serv_got_joined_chat(GaimConnection *gc, | |
94 int id, const char *name); | |
95 void serv_got_chat_left(GaimConnection *g, int id); | |
6059 | 96 void serv_got_chat_in(GaimConnection *g, int id, const char *who, |
97 int whisper, const char *message, time_t mtime); | |
9466 | 98 void serv_send_file(GaimConnection *gc, const char *who, const char *file); |
5872 | 99 |
5944
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
100 #ifdef __cplusplus |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
101 } |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
102 #endif |
158196b2db19
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
103 |
5872 | 104 #endif /* _GAIM_SERVER_H_ */ |