Changeset d0d65df for owl.h


Ignore:
Timestamp:
Feb 17, 2003, 3:47:41 PM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
985f85b
Parents:
a2641cd9
Message:
The message object now uses a list of attributes internally, in
  prep. for supporting new messaging protocols
owl_function_info now uses fmtext instead of one staticly sized
  buffer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r8f44c6b rd0d65df  
    3939#define OWL_MESSAGE_TYPE_GENERIC    1
    4040#define OWL_MESSAGE_TYPE_ZEPHYR     2
     41#define OWL_MESSAGE_TYPE_AIM        3
     42#define OWL_MESSAGE_TYPE_JABBER     4
     43#define OWL_MESSAGE_TYPE_ICQ        5
     44#define OWL_MESSAGE_TYPE_YAHOO      6
     45#define OWL_MESSAGE_TYPE_MSN        7
    4146
    4247#define OWL_MESSAGE_DIRECTION_NONE  0
     
    225230} owl_zwrite;
    226231
     232typedef struct _owl_pair {
     233  void *key;
     234  void *value;
     235} owl_pair;
     236
    227237typedef struct _owl_message {
    228238  int id;
     
    233243  int delete;
    234244  char hostname[MAXHOSTNAMELEN];
    235   char *sender;
    236   char *recip;
    237   char *class;
    238   char *inst;
    239   char *opcode;
     245  owl_list attributes; /* this is a list of pairs */
    240246  char *time;
    241   char *realm;
    242   char *body;
    243247  char *zwriteline;
    244   char *zsig;
    245248} owl_message;
    246249
Note: See TracChangeset for help on using the changeset viewer.