Changeset 1ba7e8f for protocols/jabber/jabber.h
- Timestamp:
- 2008-02-15T17:38:57Z (16 years ago)
- Branches:
- master
- Children:
- 506e61b
- Parents:
- 0fbd3a6d (diff), eeb85a8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
r0fbd3a6d r1ba7e8f 29 29 #include "xmltree.h" 30 30 #include "bitlbee.h" 31 32 extern GSList *jabber_connections; 31 33 32 34 typedef enum … … 47 49 typedef enum 48 50 { 49 JBFLAG_PROBED_XEP85 = 1, 51 JBFLAG_PROBED_XEP85 = 1, /* Set this when we sent our probe packet to make 50 52 sure it gets sent only once. */ 51 JBFLAG_DOES_XEP85 = 2, 53 JBFLAG_DOES_XEP85 = 2, /* Set this when the resource seems to support 52 54 XEP85 (typing notification shite). */ 53 JBFLAG_IS_CHATROOM = 4, 55 JBFLAG_IS_CHATROOM = 4, /* It's convenient to use this JID thingy for 54 56 groupchat state info too. */ 55 JBFLAG_IS_ANONYMOUS = 8, 57 JBFLAG_IS_ANONYMOUS = 8, /* For anonymous chatrooms, when we don't have 56 58 have a real JID. */ 57 59 } jabber_buddy_flags_t; … … 64 66 char port[6]; 65 67 } jabber_streamhost_t; 68 69 typedef enum 70 { 71 JCFLAG_MESSAGE_SENT = 1, /* Set this after sending the first message, so 72 we can detect echoes/backlogs. */ 73 } jabber_chat_flags_t; 66 74 67 75 struct jabber_data … … 105 113 struct jabber_cache_entry 106 114 { 115 time_t saved_at; 107 116 struct xt_node *node; 108 117 jabber_cache_event func; … … 175 184 #define JABBER_PACKET_ID "BeeP" 176 185 #define JABBER_CACHED_ID "BeeC" 186 187 /* The number of seconds to keep cached packets before garbage collecting 188 them. This gc is done on every keepalive (every minute). */ 189 #define JABBER_CACHE_MAX_AGE 600 177 190 178 191 /* RFC 392[01] stuff */ … … 198 211 #define XMLNS_MUC "http://jabber.org/protocol/muc" /* XEP-0045 */ 199 212 #define XMLNS_MUC_USER "http://jabber.org/protocol/muc#user" /* XEP-0045 */ 213 #define XMLNS_CAPS "http://jabber.org/protocol/caps" /* XEP-0115 */ 200 214 #define XMLNS_FEATURE "http://jabber.org/protocol/feature-neg" /* XEP-0020 */ 201 215 #define XMLNS_SI "http://jabber.org/protocol/si" /* XEP-0095 */
Note: See TracChangeset
for help on using the changeset viewer.