aboutgitcodelistschat:MatrixIRC
path: root/cooker/gluten.h
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-07-17 13:05:18 +0200
committerAlice Frosi <afrosi@redhat.com>2023-08-24 15:33:17 +0200
commit3f2585770384586977483ec4c4b38fe4c3e5fc45 (patch)
tree46846644b6563b91dca5c45ebe30ef243089c075 /cooker/gluten.h
parent89ccb73a22cb0130ebc354b3b1f6c51a7c72d89d (diff)
downloadseitan-3f2585770384586977483ec4c4b38fe4c3e5fc45.tar
seitan-3f2585770384586977483ec4c4b38fe4c3e5fc45.tar.gz
seitan-3f2585770384586977483ec4c4b38fe4c3e5fc45.tar.bz2
seitan-3f2585770384586977483ec4c4b38fe4c3e5fc45.tar.lz
seitan-3f2585770384586977483ec4c4b38fe4c3e5fc45.tar.xz
seitan-3f2585770384586977483ec4c4b38fe4c3e5fc45.tar.zst
seitan-3f2585770384586977483ec4c4b38fe4c3e5fc45.zip
cooker: add flags with getopts
Diffstat (limited to 'cooker/gluten.h')
-rw-r--r--cooker/gluten.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cooker/gluten.h b/cooker/gluten.h
index e0ea54d..4659583 100644
--- a/cooker/gluten.h
+++ b/cooker/gluten.h
@@ -9,6 +9,11 @@
#define COOKER
#include <gluten.h>
+enum scmp_mode {
+ SCMP_FILTER,
+ SCMP_PROFILE,
+};
+
struct gluten_arg_data {
struct gluten_offset offset;
size_t len;
@@ -37,6 +42,8 @@ struct gluten_ctx {
struct attr attrs[ATTRS_MAX];
struct arg *selected_arg[6];
+
+ enum scmp_mode mode;
};
/**