Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r63075d7 rb5c8a34  
    4949typedef enum
    5050{
    51         JBFLAG_PROBED_XEP85 = 1,        /* Set this when we sent our probe packet to make
     51        JBFLAG_PROBED_XEP85 = 1,        /* Set this when we sent our probe packet to make
    5252                                           sure it gets sent only once. */
    53         JBFLAG_DOES_XEP85 = 2,          /* Set this when the resource seems to support
     53        JBFLAG_DOES_XEP85 = 2,          /* Set this when the resource seems to support
    5454                                           XEP85 (typing notification shite). */
    55         JBFLAG_IS_CHATROOM = 4,         /* It's convenient to use this JID thingy for
     55        JBFLAG_IS_CHATROOM = 4,         /* It's convenient to use this JID thingy for
    5656                                           groupchat state info too. */
    57         JBFLAG_IS_ANONYMOUS = 8,        /* For anonymous chatrooms, when we don't have
     57        JBFLAG_IS_ANONYMOUS = 8,        /* For anonymous chatrooms, when we don't have
    5858                                           have a real JID. */
    5959} jabber_buddy_flags_t;
    60 
    61 typedef enum
    62 {
    63         JCFLAG_MESSAGE_SENT = 1,        /* Set this after sending the first message, so
    64                                            we can detect echoes/backlogs. */
    65 } jabber_chat_flags_t;
    6660
    6761struct jabber_data
     
    10195struct jabber_cache_entry
    10296{
    103         time_t saved_at;
    10497        struct xt_node *node;
    10598        jabber_cache_event func;
     
    147140#define JABBER_PACKET_ID "BeeP"
    148141#define JABBER_CACHED_ID "BeeC"
    149 
    150 /* The number of seconds to keep cached packets before garbage collecting
    151    them. This gc is done on every keepalive (every minute). */
    152 #define JABBER_CACHE_MAX_AGE 600
    153142
    154143/* RFC 392[01] stuff */
     
    172161#define XMLNS_MUC          "http://jabber.org/protocol/muc"     /* XEP-0045 */
    173162#define XMLNS_MUC_USER     "http://jabber.org/protocol/muc#user"/* XEP-0045 */
    174 #define XMLNS_CAPS         "http://jabber.org/protocol/caps"    /* XEP-0115 */
    175163
    176164/* iq.c */
Note: See TracChangeset for help on using the changeset viewer.