aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter_lib.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-08 14:42:57 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-08 14:42:57 +0100
commitb8906261293b34d8c792bd1f48df10144a8a8f10 (patch)
tree22cb15d6c5081b1d310721f625c1a82282039d0b /protocols/twitter/twitter_lib.h
parent203a2d2e8857e4c83f8f5e1a89de03ea08538cb2 (diff)
Add a few more commands (including RT) and the ability to send replies.
That's it for now, this is already not very pretty, but just offers the bare basic functionality.
Diffstat (limited to 'protocols/twitter/twitter_lib.h')
-rw-r--r--protocols/twitter/twitter_lib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/twitter/twitter_lib.h b/protocols/twitter/twitter_lib.h
index 4f3b16c7..24b4a089 100644
--- a/protocols/twitter/twitter_lib.h
+++ b/protocols/twitter/twitter_lib.h
@@ -35,6 +35,7 @@
#define TWITTER_STATUS_UPDATE_URL "/statuses/update.xml"
#define TWITTER_STATUS_SHOW_URL "/statuses/show/"
#define TWITTER_STATUS_DESTROY_URL "/statuses/destroy/"
+#define TWITTER_STATUS_RETWEET_URL "/statuses/retweet/"
/* Timeline URLs */
#define TWITTER_PUBLIC_TIMELINE_URL "/statuses/public_timeline.xml"
@@ -80,10 +81,11 @@ void twitter_get_friends_ids(struct im_connection *ic, gint64 next_cursor);
void twitter_get_home_timeline(struct im_connection *ic, gint64 next_cursor);
void twitter_get_statuses_friends(struct im_connection *ic, gint64 next_cursor);
-void twitter_post_status(struct im_connection *ic, char *msg);
+void twitter_post_status(struct im_connection *ic, char *msg, guint64 in_reply_to);
void twitter_direct_messages_new(struct im_connection *ic, char *who, char *message);
void twitter_friendships_create_destroy(struct im_connection *ic, char *who, int create);
void twitter_status_destroy(struct im_connection *ic, guint64 id);
+void twitter_status_retweet(struct im_connection *ic, guint64 id);
#endif //_TWITTER_LIB_H