Ignore:
Timestamp:
2006-10-20T19:12:14Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3b3cd693
Parents:
f920d9e
Message:

Now all IQ packets get an ID and cached packets get a "special" ID. This
makes it easier to find out if an event handler has to be called for a
reply packet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    rf920d9e rdfa41a4  
    102102       
    103103        time_t last_act;
    104         int flags;
     104        jabber_buddy_flag_t flags;
    105105       
    106106        struct jabber_buddy *next;
    107107};
     108
     109/* Prefixes to use for packet IDs (mainly for IQ packets ATM). Usually the
     110   first one should be used, but when storing a packet in the cache, a
     111   "special" kind of ID is assigned to make it easier later to figure out
     112   if we have to do call an event handler for the response packet. */
     113#define JABBER_PACKET_ID "BeeP"
     114#define JABBER_CACHED_ID "BeeC"
    108115
    109116/* iq.c */
Note: See TracChangeset for help on using the changeset viewer.