36#define BUFRLEN 8388608
51int is_bufr (
unsigned char *b );
52int is_endb (
unsigned char *b );
53int is_head (
unsigned char *b );
55int timeval_substract (
struct timeval *result,
struct timeval *x,
struct timeval *y );
56int read_args (
int _argc,
char * _argv[] );
int bufr_is_selected(char *name)
returns 1 if selected message 0 otherwise
int is_head_custom(unsigned char *b, char mark)
checks if an unsigned char from an array is the first char of repeated mark char four times
int read_args(int _argc, char *_argv[])
read the arguments from stdio
int is_endb(unsigned char *b)
checks if an unsigned char from an array is the first char of '7777'
int mtime_from_stat(char *filename, struct stat *st)
modifies a file update time from a struct stat
unsigned char BUFR[BUFRLEN]
int date_mtime_from_stat(char *date, struct stat *st)
get a string with date and time from a struct stat
int is_head(unsigned char *b)
checks if an unsigned char from an array is the first char of '****'
int is_bufr(unsigned char *b)
checks if an unsigned char from an array is the first char of 'BUFR'
int timeval_substract(struct timeval *result, struct timeval *x, struct timeval *y)
Subtract the ‘struct timeval’ values X and Y, storing the result in RESULT.