aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-12-06 00:03:49 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2010-12-06 00:03:49 +0000
commitd88c92a40438e0ac8e897beb3ead44c4404050b3 (patch)
tree8dd4e41d7490e49501386e57cb281463b9bce7b1 /protocols/nogaim.h
parenta429907207d5b8b05463c72a9b8c880ba03ad921 (diff)
First bits of CTCP support to contacts. (Try /CTCP VERSION on a Jabber
contact.)
Diffstat (limited to 'protocols/nogaim.h')
-rw-r--r--protocols/nogaim.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h
index 62d49e30..a98b7054 100644
--- a/protocols/nogaim.h
+++ b/protocols/nogaim.h
@@ -135,6 +135,11 @@ struct buddy {
struct im_connection *ic; /* the connection it belongs to */
};
+struct buddy_action {
+ char *name;
+ char *description;
+};
+
struct prpl {
int options;
/* You should set this to the name of your protocol.
@@ -256,6 +261,9 @@ struct prpl {
void (* buddy_data_add) (struct bee_user *bu);
void (* buddy_data_free) (struct bee_user *bu);
+ GList *(* buddy_action_list) (struct bee_user *bu);
+ void *(* buddy_action) (struct bee_user *bu, const char *action, char * const args[], void *data);
+
/* Some placeholders so eventually older plugins may cooperate with newer BitlBees. */
void *resv1;
void *resv2;
@@ -315,6 +323,7 @@ G_MODULE_EXPORT void imcb_remove_buddy( struct im_connection *ic, const char *ha
G_MODULE_EXPORT struct buddy *imcb_find_buddy( struct im_connection *ic, char *handle );
G_MODULE_EXPORT void imcb_rename_buddy( struct im_connection *ic, const char *handle, const char *realname );
G_MODULE_EXPORT void imcb_buddy_nick_hint( struct im_connection *ic, const char *handle, const char *nick );
+G_MODULE_EXPORT void imcb_buddy_action_response( bee_user_t *bu, const char *action, char * const args[], void *data );
G_MODULE_EXPORT void imcb_buddy_typing( struct im_connection *ic, const char *handle, uint32_t flags );
G_MODULE_EXPORT struct bee_user *imcb_buddy_by_handle( struct im_connection *ic, const char *handle );