summaryrefslogtreecommitdiff
path: root/nohtml/options.h
blob: 0717be5aec94ab8afcdd3b00ab0b19133d2ac606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _OPTIONS_INC
#define _OPTIONS_INC

// flags for 'apply_to' value below
#define ATF_ALL		0x01
#define ATF_OTR		0x02

typedef struct {
	bool filter_in, filter_out, bbcodes, html;
	int apply_to; // bitwize 'or' of ATF_* flags above - 'ALL' overrides all others
} Options;

extern Options options;

void InitOptions();
void DeinitOptions();

#endif