From: Bastian Dehn Date: Tue, 23 Sep 2025 07:23:16 +0000 (+0200) Subject: add profile in handler X-Git-Tag: v1.1.6^2~1^2~16 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=e457cd2f43dd227d9ef7384315ff87b7fa9ed4f6;p=sane-kds-s2000w-net.git add profile in handler --- diff --git a/src/kds_s2000w_handler.c b/src/kds_s2000w_handler.c index d082cc1..768d700 100644 --- a/src/kds_s2000w_handler.c +++ b/src/kds_s2000w_handler.c @@ -64,6 +64,7 @@ handler* kds_s2000w_handler_init() h->read_info = malloc(sizeof(readinfo)); h->image = malloc(sizeof(imagedata)); + h->profile = 0; h->sessionid = 0; h->state = NOTCONNECTED; h->current_scan_status->current_image_number = 1; diff --git a/src/kds_s2000w_handler.h b/src/kds_s2000w_handler.h index 67e3312..9a155bf 100644 --- a/src/kds_s2000w_handler.h +++ b/src/kds_s2000w_handler.h @@ -50,6 +50,7 @@ typedef struct { } readinfo; typedef struct { + uint8_t profile; uint64_t sessionid; uint8_t state; json_object* current_scanner_config;