diff options
author | dequis <dx@dxzone.com.ar> | 2016-04-16 14:21:33 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-04-16 14:21:33 -0300 |
commit | 991c75fbf4c4bc0ab2ae6f8b983a092080630b14 (patch) | |
tree | 7932b640301c13b3c0798562740e971c3eb7b80f /protocols/twitter/twitter_lib.h | |
parent | c9603a38774fb118d4aaa96e170674412ed7328a (diff) | |
parent | 166a571321826a68626eaf10a59901253237f09e (diff) |
Merge remote-tracking branch 'bitlbee/pr/70'
Diffstat (limited to 'protocols/twitter/twitter_lib.h')
-rw-r--r-- | protocols/twitter/twitter_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/twitter/twitter_lib.h b/protocols/twitter/twitter_lib.h index 002376b1..6833d23d 100644 --- a/protocols/twitter/twitter_lib.h +++ b/protocols/twitter/twitter_lib.h @@ -62,6 +62,8 @@ /* Social graphs URLs */ #define TWITTER_FRIENDS_IDS_URL "/friends/ids.json" #define TWITTER_FOLLOWERS_IDS_URL "/followers/ids.json" +#define TWITTER_MUTES_IDS_URL "/mutes/users/ids.json" +#define TWITTER_NORETWEETS_IDS_URL "/friendships/no_retweets/ids.json" /* Account URLs */ #define TWITTER_ACCOUNT_RATE_LIMIT_URL "/account/rate_limit_status.json" @@ -75,6 +77,10 @@ #define TWITTER_BLOCKS_CREATE_URL "/blocks/create/" #define TWITTER_BLOCKS_DESTROY_URL "/blocks/destroy/" +/* Mute URLs */ +#define TWITTER_MUTES_CREATE_URL "/mutes/users/create.json" +#define TWITTER_MUTES_DESTROY_URL "/mutes/users/destroy.json" + /* Report spam */ #define TWITTER_REPORT_SPAM_URL "/users/report_spam.json" @@ -86,11 +92,14 @@ gboolean twitter_open_stream(struct im_connection *ic); gboolean twitter_open_filter_stream(struct im_connection *ic); gboolean twitter_get_timeline(struct im_connection *ic, gint64 next_cursor); void twitter_get_friends_ids(struct im_connection *ic, gint64 next_cursor); +void twitter_get_mutes_ids(struct im_connection *ic, gint64 next_cursor); +void twitter_get_noretweets_ids(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, 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_mute_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); void twitter_report_spam(struct im_connection *ic, char *screen_name); |