Changeset 4e04194 for protocols/nogaim.h
- Timestamp:
- 2009-11-23T23:00:54Z (14 years ago)
- Branches:
- master
- Children:
- cd741d8
- Parents:
- b3117f2 (diff), fb51d85 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
rb3117f2 r4e04194 39 39 #define _NOGAIM_H 40 40 41 #include <stdint.h> 42 41 43 #include "bitlbee.h" 42 44 #include "account.h" 43 45 #include "proxy.h" 44 46 #include "query.h" 45 #include "md5.h"46 47 47 48 #define BUDDY_ALIAS_MAXLEN 388 /* because MSN names can be 387 characters */ … … 224 225 * - Most protocols will just want to set this to g_strcasecmp().*/ 225 226 int (* handle_cmp) (const char *who1, const char *who2); 227 228 /* Implement these callbacks if you want to use imcb_ask_auth() */ 229 void (* auth_allow) (struct im_connection *, const char *who); 230 void (* auth_deny) (struct im_connection *, const char *who); 226 231 }; 227 232 … … 252 257 /* To tell the user an error, ie. before logging out when an error occurs. */ 253 258 G_MODULE_EXPORT void imcb_error( struct im_connection *ic, char *format, ... ) G_GNUC_PRINTF( 2, 3 ); 259 254 260 /* To ask a your about something. 255 261 * - 'msg' is the question. … … 258 264 */ 259 265 G_MODULE_EXPORT void imcb_ask( struct im_connection *ic, char *msg, void *data, query_callback doit, query_callback dont ); 260 G_MODULE_EXPORT void imcb_ask_add( struct im_connection *ic, char *handle, const char *realname ); 266 267 /* Two common questions you may want to ask: 268 * - X added you to his contact list, allow? 269 * - X is not in your contact list, want to add? 270 */ 271 G_MODULE_EXPORT void imcb_ask_auth( struct im_connection *ic, const char *handle, const char *realname ); 272 G_MODULE_EXPORT void imcb_ask_add( struct im_connection *ic, const char *handle, const char *realname ); 261 273 262 274 /* Buddy management */
Note: See TracChangeset
for help on using the changeset viewer.