]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add option descriptor type
authorBastian Dehn <hhaalo@arcor.de>
Mon, 22 Sep 2025 05:17:08 +0000 (07:17 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 22 Sep 2025 05:17:08 +0000 (07:17 +0200)
src/kds_s2000w_option_descriptors.h

index c91bc021146f0c57379a031a8b8b3f980ee9b748..9e0ae18c60e785231d57e5054a9d841e8227c58a 100644 (file)
@@ -3,6 +3,11 @@
 #include <stdint.h>
 #include <sane/sane.h>
 
+typedef struct {
+       const char* config_name;
+       SANE_Option_Descriptor descriptor;
+} option_descriptor;
+
 void kds_s2000w_option_descriptors_init();
 void kds_s2000w_option_descriptors_free();