annotate src/protocols/silc/wb.h @ 12820:cb3cbd69284d

[gaim-migrate @ 15168] Oops, typos. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 11 Jan 2006 05:01:45 +0000
parents d5daff460913
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12058
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
1 /*
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
2
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
3 silcgaim.h
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
4
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
5 Author: Pekka Riikonen <priikone@silcnet.org>
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
6
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
7 Copyright (C) 2005 Pekka Riikonen
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
8
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
9 This program is free software; you can redistribute it and/or modify
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
10 it under the terms of the GNU General Public License as published by
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
11 the Free Software Foundation; version 2 of the License.
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
12
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
13 This program is distributed in the hope that it will be useful,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
16 GNU General Public License for more details.
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
17
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
18 */
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
19
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
20 #ifndef SILCGAIM_WB_H
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
21 #define SILCGAIM_WB_H
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
22
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
23 #include "silcgaim.h"
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
24 #include "whiteboard.h"
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
25
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
26 GaimWhiteboard *
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
27 silcgaim_wb_init(SilcGaim sg, SilcClientEntry client_entry);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
28 GaimWhiteboard *
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
29 silcgaim_wb_init_ch(SilcGaim sg, SilcChannelEntry channel);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
30 void silcgaim_wb_receive(SilcClient client, SilcClientConnection conn,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
31 SilcClientEntry sender, SilcMessagePayload payload,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
32 SilcMessageFlags flags, const unsigned char *message,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
33 SilcUInt32 message_len);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
34 void silcgaim_wb_receive_ch(SilcClient client, SilcClientConnection conn,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
35 SilcClientEntry sender, SilcChannelEntry channel,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
36 SilcMessagePayload payload,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
37 SilcMessageFlags flags,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
38 const unsigned char *message,
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
39 SilcUInt32 message_len);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
40 void silcgaim_wb_start(GaimWhiteboard *wb);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
41 void silcgaim_wb_end(GaimWhiteboard *wb);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
42 void silcgaim_wb_get_dimensions(GaimWhiteboard *wb, int *width, int *height);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
43 void silcgaim_wb_set_dimensions(GaimWhiteboard *wb, int width, int height);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
44 void silcgaim_wb_get_brush(GaimWhiteboard *wb, int *size, int *color);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
45 void silcgaim_wb_set_brush(GaimWhiteboard *wb, int size, int color);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
46 void silcgaim_wb_send(GaimWhiteboard *wb, GList *draw_list);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
47 void silcgaim_wb_clear(GaimWhiteboard *wb);
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
48
d5daff460913 [gaim-migrate @ 14353]
Ethan Blanton <elb@pidgin.im>
parents:
diff changeset
49 #endif /* SILCGAIM_WB_H */