#define MEMBER_FILE "member.dat"
static FILE *member_file = NULL;
static int member_count = 0;

#define TITLE_FILE "title.dat"
static FILE *title_file = NULL;
static int title_count = 0;

#define DISK_FILE "disk.dat"
static FILE *disk_file = NULL;
static int disk_count = 0;

#define RENTAL_FILE "rental.dat"
static FILE *rental_file = NULL;
static int rental_count = 0;

#define RESERVE_FILE "reserve.dat"
static FILE *reserve_file = NULL;
static int reserve_count = 0;

/* This is a mandatory API */
static int dvd_db_ok = 0;

static int file_get(FILE *file, long file_position, int size, void *data);
