Back to index

lightning-sunbird  0.9+nobinonly
atypes.hxx
Go to the documentation of this file.
00001 #ifndef _ATYPES_HXX_
00002 #define _ATYPES_HXX_
00003 
00004 #define SETSIZE         256
00005 #define MAXAFFIXES      256
00006 #define MAXWORDLEN      100
00007 #define XPRODUCT        (1 << 0)
00008 
00009 #define MAXLNLEN        1024
00010 
00011 #define TESTAFF( a , b , c ) memchr((void *)(a), (int)(b), (size_t)(c) )
00012 
00013 struct affentry
00014 {
00015    char * strip;
00016    char * appnd;
00017    short  stripl;
00018    short  appndl;
00019    short  numconds;
00020    short  xpflg;
00021    char   achar;
00022    char   conds[SETSIZE];
00023 };
00024 
00025 struct replentry {
00026   char * pattern;
00027   char * replacement;
00028 };
00029 
00030 struct mapentry {
00031   char * set;
00032   int len;
00033 };
00034 
00035 struct guessword {
00036   char * word;
00037   bool allow;
00038 };
00039 
00040 #endif
00041 
00042 
00043 
00044 
00045