Changes in protocols/twitter/twitter.h [90fc864:f97b8e9]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.h
r90fc864 rf97b8e9 4 4 * Simple module to facilitate twitter functionality. * 5 5 * * 6 * Copyright 2009 Geert Mulders <g.c.w.m.mulders@gmail.com> * 6 * Copyright 2009-2010 Geert Mulders <g.c.w.m.mulders@gmail.com> * 7 * Copyright 2010-2012 Wilmer van der Gaast <wilmer@gaast.net> * 7 8 * * 8 9 * This library is free software; you can redistribute it and/or * … … 35 36 typedef enum 36 37 { 37 TWITTER_HAVE_FRIENDS = 1, 38 TWITTER_HAVE_FRIENDS = 0x00001, 39 TWITTER_MODE_ONE = 0x00002, 40 TWITTER_MODE_MANY = 0x00004, 41 TWITTER_MODE_CHAT = 0x00008, 38 42 TWITTER_DOING_TIMELINE = 0x10000, 39 TWITTER_GOT_TIMELINE = 0x20000,40 TWITTER_GOT_MENTIONS = 0x40000,43 TWITTER_GOT_TIMELINE = 0x20000, 44 TWITTER_GOT_MENTIONS = 0x40000, 41 45 } twitter_flags_t; 42 46 … … 57 61 guint64 last_status_id; /* For undo */ 58 62 gint main_loop_id; 63 struct http_request *stream; 59 64 struct groupchat *timeline_gc; 60 65 gint http_fails; … … 80 85 }; 81 86 82 #define TWITTER_LOG_LENGTH 10087 #define TWITTER_LOG_LENGTH 256 83 88 struct twitter_log_data 84 89 { … … 99 104 char *twitter_parse_error( struct http_request *req ); 100 105 106 void twitter_log(struct im_connection *ic, char *format, ... ); 107 struct groupchat *twitter_groupchat_init(struct im_connection *ic); 108 101 109 #endif //_TWITTER_H
Note: See TracChangeset
for help on using the changeset viewer.