Changeset fa29d093 for protocols/nogaim.h
- Timestamp:
- 2007-03-28T05:53:11Z (18 years ago)
- Branches:
- master
- Children:
- 0da65d5
- Parents:
- 723e611
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
r723e611 rfa29d093 100 100 101 101 /* stuff used just for chat */ 102 GList *in_room; 103 GList *ignored; 104 int id; 105 106 /* BitlBee */ 107 struct conversation *next; 108 char *channel; 109 char *title; 110 char joined; 111 void *data; 102 GList *in_room; 103 GList *ignored; 104 105 /* BitlBee */ 106 struct conversation *next; 107 char *channel; 108 char *title; 109 char joined; 110 void *data; 112 111 }; 113 112 … … 115 114 char name[80]; 116 115 char show[BUDDY_ALIAS_MAXLEN]; 117 116 int present; 118 117 int evil; 119 118 time_t signon; 120 119 time_t idle; 121 120 int uc; 122 121 guint caps; /* woohoo! */ 123 122 void *proto_data; /* what a hack */ … … 153 152 154 153 /* Group chat stuff. */ 155 void (* join_chat) (struct gaim_connection *, GList *data); 156 void (* chat_invite) (struct gaim_connection *, int id, char *who, char *message); 157 void (* chat_leave) (struct gaim_connection *, int id); 158 int (* chat_send) (struct gaim_connection *, int id, char *message); 159 int (* chat_open) (struct gaim_connection *, char *who); 154 void (* chat_invite) (struct conversation *, char *who, char *message); 155 void (* chat_leave) (struct conversation *); 156 int (* chat_send) (struct conversation *, char *message); 157 struct conversation * 158 (* chat_open) (struct gaim_connection *, char *who); 159 struct conversation * 160 (* chat_join) (struct gaim_connection *, char *chat, char *nick, char *password); 160 161 161 162 /* DIE! */ … … 183 184 int bim_set_away( struct gaim_connection *gc, char *away ); 184 185 int bim_buddy_msg( struct gaim_connection *gc, char *handle, char *msg, int flags ); 185 int bim_chat_msg( struct gaim_connection *gc, int id, char *msg );186 int bim_chat_msg( struct conversation *c, char *msg ); 186 187 187 188 void bim_add_allow( struct gaim_connection *gc, char *handle ); … … 224 225 G_MODULE_EXPORT void show_got_added( struct gaim_connection *gc, char *handle, const char *realname ); 225 226 226 /* server.c */ 227 /* server.c */ 227 228 G_MODULE_EXPORT void serv_got_update( struct gaim_connection *gc, char *handle, int loggedin, int evil, time_t signon, time_t idle, int type, guint caps ); 228 229 G_MODULE_EXPORT void serv_got_im( struct gaim_connection *gc, char *handle, char *msg, guint32 flags, time_t mtime, gint len ); 229 230 G_MODULE_EXPORT void serv_got_typing( struct gaim_connection *gc, char *handle, int timeout, int type ); 230 231 G_MODULE_EXPORT void serv_got_chat_invite( struct gaim_connection *gc, char *handle, char *who, char *msg, GList *data ); 231 G_MODULE_EXPORT struct conversation *serv_got_joined_chat( struct gaim_connection *gc, int id, char *handle ); 232 G_MODULE_EXPORT void serv_got_chat_in( struct gaim_connection *gc, int id, char *who, int whisper, char *msg, time_t mtime ); 233 G_MODULE_EXPORT void serv_got_chat_left( struct gaim_connection *gc, int id ); 234 235 struct conversation *conv_findchannel( char *channel ); 232 G_MODULE_EXPORT struct conversation *serv_got_joined_chat( struct gaim_connection *gc, char *handle ); 233 G_MODULE_EXPORT void serv_got_chat_in( struct conversation *c, char *who, int whisper, char *msg, time_t mtime ); 234 G_MODULE_EXPORT void serv_got_chat_left( struct conversation *c ); 235 236 struct conversation *chat_by_channel( char *channel ); 237 struct conversation *chat_by_id( int id ); 236 238 237 239 #endif
Note: See TracChangeset
for help on using the changeset viewer.