diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-03-29 00:28:46 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-03-29 00:28:46 +0100 |
commit | ce81acd6242513c5fcf6cf2224f9b1137701e14e (patch) | |
tree | c7749cd23ae2d57ab3c6cde0ba4818381a000bfa /protocols/twitter/twitter.h | |
parent | f01bc6f174e15d5dcc530a0136a556bfbc22d236 (diff) |
For #721, add the numbers in front of tweets if show_ids is enabled. Left
to do: Document the feature and allow using the numbers in rt/replies.
Diffstat (limited to 'protocols/twitter/twitter.h')
-rw-r--r-- | protocols/twitter/twitter.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h index 98f16835..1fddcbd1 100644 --- a/protocols/twitter/twitter.h +++ b/protocols/twitter/twitter.h @@ -37,6 +37,8 @@ typedef enum TWITTER_HAVE_FRIENDS = 1, } twitter_flags_t; +struct twitter_log_data; + struct twitter_data { char* user; @@ -55,6 +57,9 @@ struct twitter_data char *url_path; char *prefix; /* Used to generate contact + channel name. */ + + struct twitter_log_data *log; + int log_id; }; struct twitter_user_data @@ -63,6 +68,13 @@ struct twitter_user_data time_t last_time; }; +#define TWITTER_LOG_LENGTH 100 +struct twitter_log_data +{ + guint64 id; + struct bee_user *bu; +}; + /** * This has the same function as the msn_connections GSList. We use this to * make sure the connection is still alive in callbacks before we do anything |