Changeset 76c85b4c for protocols/jabber/jabber.h
- Timestamp:
- 2009-11-19T13:11:38Z (14 years ago)
- Branches:
- master
- Children:
- 20e830b
- Parents:
- 36cf9fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
r36cf9fd r76c85b4c 107 107 }; 108 108 109 /* Somewhat messy data structure: We have a hash table with the bare JID as 110 the key and the head of a struct jabber_buddy list as the value. The head 111 is always a bare JID. If the JID has other resources (often the case, 112 except for some transports that don't support multiple resources), those 113 follow. In that case, the bare JID at the beginning doesn't actually 114 refer to a real session and should only be used for operations that 115 support incomplete JIDs. */ 109 116 struct jabber_buddy 110 117 { … … 120 127 char *away_message; 121 128 122 time_t last_ act;129 time_t last_msg; 123 130 jabber_buddy_flags_t flags; 124 131 … … 208 215 GET_BUDDY_EXACT = 2, /* Get an exact match (only makes sense with bare JIDs). */ 209 216 GET_BUDDY_FIRST = 4, /* No selection, simply get the first resource for this JID. */ 217 GET_BUDDY_BARE = 8, /* Get the bare version of the JID (possibly inexistent). */ 218 GET_BUDDY_BARE_OK = 16, /* Allow returning a bare JID if that seems better. */ 210 219 } get_buddy_flags_t; 211 220
Note: See TracChangeset
for help on using the changeset viewer.