Changeset 6bbb939 for protocols/nogaim.h
- Timestamp:
- 2007-04-16T04:01:13Z (17 years ago)
- Branches:
- master
- Children:
- cfc8d58
- Parents:
- 84b045d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
r84b045d r6bbb939 6 6 7 7 /* 8 * nogaim 8 * nogaim, soon to be known as im_api. Not a separate product (unless 9 * someone would be interested in such a thing), just a new name. 9 10 * 10 11 * Gaim without gaim - for BitlBee … … 15 16 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net> 16 17 * (and possibly other members of the Gaim team) 17 * Copyright 2002-200 4Wilmer van der Gaast <wilmer@gaast.net>18 * Copyright 2002-2007 Wilmer van der Gaast <wilmer@gaast.net> 18 19 */ 19 20 … … 44 45 #include "sha.h" 45 46 46 47 47 #define BUF_LEN MSG_LEN 48 48 #define BUF_LONG ( BUF_LEN * 2 ) … … 54 54 55 55 #define WEBSITE "http://www.bitlbee.org/" 56 #define IM_FLAG_AWAY 0x002057 56 #define GAIM_AWAY_CUSTOM "Custom" 58 57 59 #define OPT_CONN_HTML 0x00000001 60 #define OPT_LOGGED_IN 0x00010000 61 #define OPT_LOGGING_OUT 0x00020000 58 /* Sharing flags between buddies and connections. Or planning to, at least... */ 59 #define OPT_LOGGED_IN 0x00000001 60 #define OPT_LOGGING_OUT 0x00000002 61 #define OPT_AWAY 0x00000004 62 #define OPT_DOES_HTML 0x00000010 62 63 63 64 /* ok. now the fun begins. first we create a connection structure */ … … 65 66 { 66 67 account_t *acc; 67 guint32flags;68 u_int32_t flags; 68 69 69 70 /* each connection then can have its own protocol-specific data */ … … 164 165 (* chat_join) (struct im_connection *, char *chat, char *nick, char *password); 165 166 166 /* DIE! */167 char *(* get_status_string) (struct im_connection *ic, int stat);168 169 167 GList *(* away_states)(struct im_connection *ic); 170 168 … … 201 199 G_MODULE_EXPORT void serv_got_chat_left( struct groupchat *c ); 202 200 struct groupchat *chat_by_channel( char *channel ); 203 struct groupchat *chat_by_id( int id );204 201 205 202 /* Buddy management */ … … 209 206 210 207 /* Buddy activity */ 211 G_MODULE_EXPORT void serv_got_update( struct im_connection *ic, char *handle, int loggedin, int evil, time_t signon, time_t idle, int type, guint caps ); 208 G_MODULE_EXPORT void imcb_buddy_status( struct im_connection *ic, const char *handle, int flags, const char *state, const char *message ); 209 /* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); 212 210 G_MODULE_EXPORT void serv_got_im( struct im_connection *ic, char *handle, char *msg, guint32 flags, time_t mtime, gint len ); 213 211 G_MODULE_EXPORT void serv_got_typing( struct im_connection *ic, char *handle, int timeout, int type );
Note: See TracChangeset
for help on using the changeset viewer.