Changeset bb95d43 for protocols/jabber/jabber.h
- Timestamp:
- 2007-06-04T11:32:37Z (18 years ago)
- Branches:
- master
- Children:
- 54f2f55
- Parents:
- 6286f80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
r6286f80 rbb95d43 32 32 typedef enum 33 33 { 34 JFLAG_STREAM_STARTED = 1, 34 JFLAG_STREAM_STARTED = 1, /* Set when we detected the beginning of the stream 35 35 and want to do auth. */ 36 JFLAG_AUTHENTICATED = 2, 37 JFLAG_STREAM_RESTART = 4, 36 JFLAG_AUTHENTICATED = 2, /* Set when we're successfully authenticatd. */ 37 JFLAG_STREAM_RESTART = 4, /* Set when we want to restart the stream (after 38 38 SASL or TLS). */ 39 JFLAG_WAIT_SESSION = 8, 39 JFLAG_WAIT_SESSION = 8, /* Set if we sent a <session> tag and need a reply 40 40 before we continue. */ 41 JFLAG_WAIT_BIND = 16, 42 JFLAG_WANT_TYPING = 32, 41 JFLAG_WAIT_BIND = 16, /* ... for <bind> tag. */ 42 JFLAG_WANT_TYPING = 32, /* Set if we ever sent a typing notification, this 43 43 activates all XEP-85 related code. */ 44 JFLAG_XMLCONSOLE = 64, /* If the user added an xmlconsole buddy. */ 44 45 } jabber_flags_t; 45 46 … … 56 57 } jabber_buddy_flags_t; 57 58 58 #define JABBER_PORT_DEFAULT "5222"59 #define JABBER_PORT_MIN 522060 #define JABBER_PORT_MAX 522961 62 59 struct jabber_data 63 60 { … … 124 121 struct jabber_buddy *me; 125 122 }; 123 124 #define JABBER_XMLCONSOLE_HANDLE "xmlconsole" 125 126 #define JABBER_PORT_DEFAULT "5222" 127 #define JABBER_PORT_MIN 5220 128 #define JABBER_PORT_MAX 5229 126 129 127 130 /* Prefixes to use for packet IDs (mainly for IQ packets ATM). Usually the
Note: See TracChangeset
for help on using the changeset viewer.