{
debug_printf(ALL, "init handler");
handler* h = malloc(sizeof(handler));
- h->current_scan_status = malloc(sizeof(scan_status));
+ h->current_scan_status = malloc(sizeof(scanstatus));
h->current_metadata = malloc(sizeof(metadata));
h->read_info = malloc(sizeof(readinfo));
int available_images;
int downloaded_images;
int complete_scanned;
-} scan_status;
+} scanstatus;
typedef struct {
int scan_started;
typedef struct {
long sessionid;
int state;
- scan_status* current_scan_status;
+ scanstatus* current_scan_status;
metadata* current_metadata;
readinfo* read_info;
} handler;