]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
rename type scan status
authorBastian Dehn <hhaalo@arcor.de>
Sun, 10 Mar 2024 13:57:12 +0000 (14:57 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 10 Mar 2024 13:57:12 +0000 (14:57 +0100)
src/kds_s2000w_handler.c
src/kds_s2000w_handler.h

index abb6dd9b242717a4c40a7d3453fcff04f25902e0..efc837a6919e2b7a00cb120f8982a4f20faa84df 100644 (file)
@@ -168,7 +168,7 @@ handler* init_handler()
 {
        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));
 
index fd50111323aea9d1d4ed759f76c163049a1efcb7..24aa94ed1c9b6c49e65293757bce7913a6da92a0 100644 (file)
@@ -30,7 +30,7 @@ typedef struct {
        int available_images;
        int downloaded_images;
        int complete_scanned;
-} scan_status;
+} scanstatus;
 
 typedef struct {
        int scan_started;
@@ -43,7 +43,7 @@ typedef struct {
 typedef struct {
        long sessionid;
        int state;
-       scan_status* current_scan_status;
+       scanstatus* current_scan_status;
        metadata* current_metadata;
        readinfo* read_info;
 } handler;