From e457cd2f43dd227d9ef7384315ff87b7fa9ed4f6 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Tue, 23 Sep 2025 09:23:16 +0200 Subject: [PATCH] add profile in handler --- src/kds_s2000w_handler.c | 1 + src/kds_s2000w_handler.h | 1 + 2 files changed, 2 insertions(+) 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; -- 2.47.3