Changes in protocols/nogaim.h [4c29622:8c3637b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
r4c29622 r8c3637b 57 57 58 58 /* Sharing flags between all kinds of things. I just hope I won't hit any 59 limits before 32-bit machines become extinct. ;-) */ 59 limits before 32-bit machines become extinct. ;-) 60 61 Argh! This needs to be renamed to be more clear which field they're used 62 for. As said it's currently mixed which is nonsense. Some are for the 63 im_connection flags field, some for imcb_buddy_status(), some for typing 64 notifications, and who knows what else... */ 60 65 #define OPT_LOGGED_IN 0x00000001 61 66 #define OPT_LOGGING_OUT 0x00000002 … … 70 75 #define OPT_PONGS 0x00010000 /* Service sends us keep-alives */ 71 76 #define OPT_PONGED 0x00020000 /* Received a keep-alive during last interval */ 72 #define OPT_ SELFMESSAGE 0x00080000 /* A message sent by self from another location*/77 #define OPT_LOCAL_CONTACTS_SENT 0x00040000 /* Protocol already requested local contact list, so don't send it after finishing login. */ 73 78 74 79 /* ok. now the fun begins. first we create a connection structure */ … … 275 280 G_MODULE_EXPORT GSList *get_connections(); 276 281 G_MODULE_EXPORT struct prpl *find_protocol(const char *name); 277 G_MODULE_EXPORT gboolean is_protocol_disabled(const char *name);278 282 /* When registering a new protocol, you should allocate space for a new prpl 279 283 * struct, initialize it (set the function pointers to point to your … … 322 326 G_MODULE_EXPORT void imcb_add_buddy(struct im_connection *ic, const char *handle, const char *group); 323 327 G_MODULE_EXPORT void imcb_remove_buddy(struct im_connection *ic, const char *handle, char *group); 328 G_MODULE_EXPORT struct buddy *imcb_find_buddy(struct im_connection *ic, char *handle); 324 329 G_MODULE_EXPORT void imcb_rename_buddy(struct im_connection *ic, const char *handle, const char *realname); 325 330 G_MODULE_EXPORT void imcb_buddy_nick_hint(struct im_connection *ic, const char *handle, const char *nick); 326 331 G_MODULE_EXPORT void imcb_buddy_action_response(bee_user_t *bu, const char *action, char * const args[], void *data); 327 328 G_MODULE_EXPORT void imcb_buddy_typing(struct im_connection *ic, const char *handle, guint32 flags); 332 G_MODULE_EXPORT GSList *imcb_get_local_contacts(struct im_connection *ic); 333 334 G_MODULE_EXPORT void imcb_buddy_typing(struct im_connection *ic, const char *handle, uint32_t flags); 329 335 G_MODULE_EXPORT struct bee_user *imcb_buddy_by_handle(struct im_connection *ic, const char *handle); 330 331 G_GNUC_DEPRECATED G_MODULE_EXPORT void imcb_clean_handle(struct im_connection *ic, char *handle); 336 G_MODULE_EXPORT void imcb_clean_handle(struct im_connection *ic, char *handle); 332 337 333 338 /* Actions, or whatever. */
Note: See TracChangeset
for help on using the changeset viewer.