aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/twitter/twitter.h')
-rw-r--r--protocols/twitter/twitter.h12
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