diff options
author | Geert Mulders <g.c.w.m.mulders@gmail.com> | 2010-03-25 22:31:27 +0100 |
---|---|---|
committer | Geert Mulders <g.c.w.m.mulders@gmail.com> | 2010-03-25 22:31:27 +0100 |
commit | 62d2cfb0b7b5e7f3eda9ca13b1877d3ad74fcd5e (patch) | |
tree | b23b05667c3626b2d7d5e2d44f03218311ab9280 /protocols/twitter/twitter_lib.h | |
parent | b4dd25398db477b06452be195de14ca352008665 (diff) |
Added option to get tweeds either through groupchat or privmes.
Diffstat (limited to 'protocols/twitter/twitter_lib.h')
-rw-r--r-- | protocols/twitter/twitter_lib.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/protocols/twitter/twitter_lib.h b/protocols/twitter/twitter_lib.h index 28ca871f..e47bfd95 100644 --- a/protocols/twitter/twitter_lib.h +++ b/protocols/twitter/twitter_lib.h @@ -50,9 +50,9 @@ /* Direct messages URLs */ #define TWITTER_DIRECT_MESSAGES_URL TWITTER_API_URL "/direct_messages.xml" -#define TWITTER_DIRECT_MESSAGENEW_URL TWITTER_API_URL "/direct_messages/new.xml" -#define TWITTER_DIRECT_MESSAGESSENT_URL TWITTER_API_URL "/direct_messages/sent.xml" -#define TWITTER_DIRECT_MESSAGEDESTROY_URL TWITTER_API_URL "/direct_messages/destroy/" +#define TWITTER_DIRECT_MESSAGES_NEW_URL TWITTER_API_URL "/direct_messages/new.xml" +#define TWITTER_DIRECT_MESSAGES_SENT_URL TWITTER_API_URL "/direct_messages/sent.xml" +#define TWITTER_DIRECT_MESSAGES_DESTROY_URL TWITTER_API_URL "/direct_messages/destroy/" /* Friendships URLs */ #define TWITTER_FRIENDSHIPS_CREATE_URL TWITTER_API_URL "/friendships/create.xml" @@ -77,8 +77,10 @@ void twitter_get_friends_ids(struct im_connection *ic, int next_cursor); void twitter_get_home_timeline(struct im_connection *ic, int next_cursor); +void twitter_get_statuses_friends(struct im_connection *ic, int next_cursor); -void twitter_post_status(struct im_connection *ic, char* msg); +void twitter_post_status(struct im_connection *ic, char *msg); +void twitter_direct_messages_new(struct im_connection *ic, char *who, char *message); #endif //_TWITTER_LIB_H |