Sat, 28 Oct 2006 20:04:03 +0000
[gaim-migrate @ 17606]
Add a "handle" parameter to gaim_proxy_connect(). It seemed like
people thought this was a good idea. You can still cancel
each gaim_proxy_connect() individually, if needed. I passed in
NULL for the handle in most places. It might be better to pass
in the gc in more places, but these changes do no harm, and they
should help some Yahoo! things, and I wanted to get the API change in.
| 12058 | 1 | /* |
| 2 | ||
| 3 | silcgaim.h | |
| 4 | ||
| 5 | Author: Pekka Riikonen <priikone@silcnet.org> | |
| 6 | ||
| 7 | Copyright (C) 2005 Pekka Riikonen | |
| 8 | ||
| 9 | This program is free software; you can redistribute it and/or modify | |
| 10 | it under the terms of the GNU General Public License as published by | |
| 11 | the Free Software Foundation; version 2 of the License. | |
| 12 | ||
| 13 | This program is distributed in the hope that it will be useful, | |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | GNU General Public License for more details. | |
| 17 | ||
| 18 | */ | |
| 19 | ||
| 20 | #ifndef SILCGAIM_WB_H | |
| 21 | #define SILCGAIM_WB_H | |
| 22 | ||
| 23 | #include "silcgaim.h" | |
| 24 | #include "whiteboard.h" | |
| 25 | ||
| 26 | GaimWhiteboard * | |
| 27 | silcgaim_wb_init(SilcGaim sg, SilcClientEntry client_entry); | |
| 28 | GaimWhiteboard * | |
| 29 | silcgaim_wb_init_ch(SilcGaim sg, SilcChannelEntry channel); | |
| 30 | void silcgaim_wb_receive(SilcClient client, SilcClientConnection conn, | |
| 31 | SilcClientEntry sender, SilcMessagePayload payload, | |
| 32 | SilcMessageFlags flags, const unsigned char *message, | |
| 33 | SilcUInt32 message_len); | |
| 34 | void silcgaim_wb_receive_ch(SilcClient client, SilcClientConnection conn, | |
| 35 | SilcClientEntry sender, SilcChannelEntry channel, | |
| 36 | SilcMessagePayload payload, | |
| 37 | SilcMessageFlags flags, | |
| 38 | const unsigned char *message, | |
| 39 | SilcUInt32 message_len); | |
| 40 | void silcgaim_wb_start(GaimWhiteboard *wb); | |
| 41 | void silcgaim_wb_end(GaimWhiteboard *wb); | |
| 42 | void silcgaim_wb_get_dimensions(GaimWhiteboard *wb, int *width, int *height); | |
| 43 | void silcgaim_wb_set_dimensions(GaimWhiteboard *wb, int width, int height); | |
| 44 | void silcgaim_wb_get_brush(GaimWhiteboard *wb, int *size, int *color); | |
| 45 | void silcgaim_wb_set_brush(GaimWhiteboard *wb, int size, int color); | |
| 46 | void silcgaim_wb_send(GaimWhiteboard *wb, GList *draw_list); | |
| 47 | void silcgaim_wb_clear(GaimWhiteboard *wb); | |
| 48 | ||
| 49 | #endif /* SILCGAIM_WB_H */ |