* Move to GPL v3
[citadel.git] / gaim-citadel / interface.h
1 /* interface.h
2  * Gaim Citadel plugin.
3  * 
4  * © 2006 David Given.
5  * This code is licensed under the GPL v3. See the file COPYING in this
6  * directory for the full license text.
7  *
8  * $Id:interface.h 4326 2006-02-18 12:26:22Z hjalfi $
9  */
10
11 #ifndef INTERFACE_H
12 #define INTERFACE_H
13
14 extern char* interface_readdata(int fd, GaimSslConnection* gsc);
15 extern int interface_writedata(int fd, GaimSslConnection* gsc, char* data);
16 extern int interface_connect(GaimAccount* ga, GaimConnection* gc, char* server, int port);
17 extern void interface_disconnect(int fd, GaimSslConnection* gsc);
18 extern void interface_tlson(GaimConnection* gc, GaimAccount* ga, int fd);
19 extern int interface_timeron(GaimConnection* gc, time_t timeout);
20 extern void interface_timeroff(GaimConnection* gc, int timerhandle);
21         
22 extern const char* gaim_group_get_name(GaimGroup* group);
23
24 #endif