aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-11-25 13:11:19 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2012-11-25 13:11:19 +0000
commit96dd574444f2c99bb0a82b2c354804f03e306f23 (patch)
tree4f1de4f9dcf6c27b5427016d5b846f68217bb3f4 /protocols/twitter/twitter.h
parent2cd8540c1076c3d0423abb1927bd47fdcbfbd382 (diff)
s/twitter_msg/twitter_log/ and use it in a few more places.
Diffstat (limited to 'protocols/twitter/twitter.h')
-rw-r--r--protocols/twitter/twitter.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/protocols/twitter/twitter.h b/protocols/twitter/twitter.h
index f2afb754..108d20b3 100644
--- a/protocols/twitter/twitter.h
+++ b/protocols/twitter/twitter.h
@@ -3,7 +3,8 @@
* BitlBee - An IRC to IM gateway *
* Simple module to facilitate twitter functionality. *
* *
-* Copyright 2009 Geert Mulders <g.c.w.m.mulders@gmail.com> *
+* Copyright 2009-2010 Geert Mulders <g.c.w.m.mulders@gmail.com> *
+* Copyright 2010-2012 Wilmer van der Gaast <wilmer@gaast.net> *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
@@ -34,10 +35,13 @@
typedef enum
{
- TWITTER_HAVE_FRIENDS = 1,
+ TWITTER_HAVE_FRIENDS = 0x00001,
+ TWITTER_MODE_ONE = 0x00002,
+ TWITTER_MODE_MANY = 0x00004,
+ TWITTER_MODE_CHAT = 0x00008,
TWITTER_DOING_TIMELINE = 0x10000,
- TWITTER_GOT_TIMELINE = 0x20000,
- TWITTER_GOT_MENTIONS = 0x40000,
+ TWITTER_GOT_TIMELINE = 0x20000,
+ TWITTER_GOT_MENTIONS = 0x40000,
} twitter_flags_t;
struct twitter_log_data;
@@ -99,4 +103,6 @@ void twitter_login_finish( struct im_connection *ic );
struct http_request;
char *twitter_parse_error( struct http_request *req );
+void twitter_log(struct im_connection *ic, char *format, ... );
+
#endif //_TWITTER_H