1 #ifndef utilh
2 #define utilh
3 extern int gverbose;
4 ssize_t bufferfill ( int fd,  u_char *  __restrict dest, size_t size );
5 void stopwatch_start (struct  timespec * t );
6 int stopwatch_stop ( struct  timespec * t  , int  whisper_channel);
7 int chaos_fail();
8 unsigned long  mix ( unsigned int seed, void * data, unsigned long size );
9 #define whisper( level, ...)  { if ( level < gverbose ) fprintf(stderr,__VA_ARGS__); }
10 #define checkperror( ... )   do {if (errno != 0) perror ( __VA_ARGS__ );  } while (0);
11 #endif
12 
13