summaryrefslogtreecommitdiff
path: root/nohtml/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'nohtml/options.h')
-rw-r--r--nohtml/options.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/nohtml/options.h b/nohtml/options.h
index d5c7dba..0717be5 100644
--- a/nohtml/options.h
+++ b/nohtml/options.h
@@ -1,9 +1,13 @@
#ifndef _OPTIONS_INC
#define _OPTIONS_INC
+// flags for 'apply_to' value below
+#define ATF_ALL 0x01
+#define ATF_OTR 0x02
+
typedef struct {
- bool bbcodes;
- bool html;
+ bool filter_in, filter_out, bbcodes, html;
+ int apply_to; // bitwize 'or' of ATF_* flags above - 'ALL' overrides all others
} Options;
extern Options options;