00001 00002 #define STATUS int 00003 00004 typedef enum H2_ENDIANNESS { 00005 H2_BIG_ENDIAN, 00006 H2_LITTLE_ENDIAN 00007 } H2_ENDIANNESS; 00008 00009 /* -- STRUCTURES ------------------------------------------ */ 00010 extern STATUS logInit(int fd, int maxMsgs); 00011 extern int logMsg ( const char *fmt, ... ); 00012 00013 /* type of operation in posterTake() */ 00014 typedef enum { 00015 POSTER_READ, 00016 POSTER_WRITE, 00017 POSTER_IOCTL 00018 } POSTER_OP; 00019