introduce new API for configuring the diag logging
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 0000000..1b74fde
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdint.h>
+
+struct msgb;
+
+struct msgb *gen_log_config_set_mask(uint32_t last_item);
+int log_config_set_mask_bit(struct msgb *msg, uint32_t bit_in);