20#ifndef __ROOMMANDEF_H__
21#define __ROOMMANDEF_H__
36#define DATAFILE "roommanfile.dat"
37#define INTERMEDIATE_FILE "roommanfile.bak"
43#define INITIAL_VALUE (5381)
46#define ROOMMAN_CAPACITY (10)
75#define debug1(x) do{if(verbose >= 1){ printf x ;fflush(stdout);}}while(0)
76#define debug2(x) do{if(verbose >= 2){ printf x ;fflush(stdout);}}while(0)
77#define debug3(x) do{if(verbose >= 3){ printf x ;fflush(stdout);}}while(0)
78#define debug4(x) do{if(verbose >= 4){ printf x ;fflush(stdout);}}while(0)
#define ROOMMAN_MAX_NAME
Global definitions.
struct roomman roomman_t
Structure of an entry in the database.
char roomman_current_user[ROOMMAN_MAX_NAME+1]
Structure of an entry in the database.
char name[ROOMMAN_MAX_NAME+1]
char building[ROOMMAN_MAX_NAME+1]
char reserved_by[ROOMMAN_MAX_NAME+1]