diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-04-26 04:50:52 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-04-26 04:50:52 +0000 |
commit | ed78d0bc52bbef490b66700e9c8563a68338ad36 (patch) | |
tree | eb78d1e93a3619fce810c3e2af7de00fd456a512 /nohtml/options.h | |
parent | b668c691db2fb618029ae031a4be72d15155fdb1 (diff) |
fixed detection of unicode messages in filter recv
added 'unicode aware' flag
added lotsa options
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@153 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'nohtml/options.h')
-rw-r--r-- | nohtml/options.h | 8 |
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;
|