Changeset 0fbd3a6d for protocols/jabber/jabber.h
- Timestamp:
- 2007-12-19T00:24:32Z (16 years ago)
- Branches:
- master
- Children:
- 1ba7e8f
- Parents:
- 793cc25 (diff), 2379566 (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
r793cc25 r0fbd3a6d 57 57 } jabber_buddy_flags_t; 58 58 59 /* Stores a streamhost's(a.k.a. proxy) data */ 60 typedef struct 61 { 62 char *jid; 63 char *host; 64 char port[6]; 65 } jabber_streamhost_t; 66 59 67 struct jabber_data 60 68 { … … 83 91 84 92 GSList *filetransfers; 93 GSList *streamhosts; 94 int have_streamhosts; 85 95 }; 86 96 … … 111 121 struct jabber_away_state *away_state; 112 122 char *away_message; 123 GSList *features; 113 124 114 125 time_t last_act; … … 178 189 #define XMLNS_VERSION "jabber:iq:version" /* XEP-0092 */ 179 190 #define XMLNS_TIME "jabber:iq:time" /* XEP-0090 */ 191 #define XMLNS_PING "urn:xmpp:ping" /* XEP-0199 */ 180 192 #define XMLNS_VCARD "vcard-temp" /* XEP-0054 */ 181 193 #define XMLNS_DELAY "jabber:x:delay" /* XEP-0091 */ 182 194 #define XMLNS_XDATA "jabber:x:data" /* XEP-0004 */ 183 195 #define XMLNS_CHATSTATES "http://jabber.org/protocol/chatstates" /* XEP-0085 */ 184 #define XMLNS_DISCOVER "http://jabber.org/protocol/disco#info" /* XEP-0030 */ 196 #define XMLNS_DISCO_INFO "http://jabber.org/protocol/disco#info" /* XEP-0030 */ 197 #define XMLNS_DISCO_ITEMS "http://jabber.org/protocol/disco#items" /* XEP-0030 */ 185 198 #define XMLNS_MUC "http://jabber.org/protocol/muc" /* XEP-0045 */ 186 199 #define XMLNS_MUC_USER "http://jabber.org/protocol/muc#user" /* XEP-0045 */ … … 199 212 int jabber_add_to_roster( struct im_connection *ic, char *handle, char *name ); 200 213 int jabber_remove_from_roster( struct im_connection *ic, char *handle ); 214 xt_status jabber_iq_query_features( struct im_connection *ic, char *bare_jid ); 215 xt_status jabber_iq_query_server( struct im_connection *ic, char *jid, char *xmlns ); 201 216 202 217 /* si.c */ … … 279 294 void jabber_chat_pkt_presence( struct im_connection *ic, struct jabber_buddy *bud, struct xt_node *node ); 280 295 void jabber_chat_pkt_message( struct im_connection *ic, struct jabber_buddy *bud, struct xt_node *node ); 296 void jabber_chat_invite( struct groupchat *c, char *who, char *message ); 281 297 282 298 #endif
Note: See TracChangeset
for help on using the changeset viewer.