nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

token822.h (739B)


      1 #ifndef TOKEN822_H
      2 #define TOKEN822_H
      3 
      4 struct token822
      5  {
      6   int type;
      7   char *s;
      8   int slen;
      9  }
     10 ;
     11 
     12 #include "gen_alloc.h"
     13 GEN_ALLOC_typedef(token822_alloc,struct token822,t,len,a)
     14 
     15 extern int token822_parse();
     16 extern int token822_addrlist();
     17 extern int token822_unquote();
     18 extern int token822_unparse();
     19 extern void token822_free();
     20 extern void token822_reverse();
     21 extern int token822_ready();
     22 extern int token822_readyplus();
     23 extern int token822_append();
     24 
     25 #define TOKEN822_ATOM 1
     26 #define TOKEN822_QUOTE 2
     27 #define TOKEN822_LITERAL 3
     28 #define TOKEN822_COMMENT 4
     29 #define TOKEN822_LEFT 5
     30 #define TOKEN822_RIGHT 6
     31 #define TOKEN822_AT 7
     32 #define TOKEN822_COMMA 8
     33 #define TOKEN822_SEMI 9
     34 #define TOKEN822_COLON 10
     35 #define TOKEN822_DOT 11
     36 
     37 #endif