diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbbsutil.h | 1 | ||||
-rw-r--r-- | include/uflags.h | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/include/libbbsutil.h b/include/libbbsutil.h index 5b877f52..f2e31a53 100644 --- a/include/libbbsutil.h +++ b/include/libbbsutil.h @@ -63,6 +63,7 @@ extern int strip_blank(char *cbuf, char *buf); extern int strip_ansi(char *buf, const char *str, enum STRIP_FLAG flag); extern int strlen_noansi(const char *s); extern void strip_nonebig5(unsigned char *str, int maxlen); +extern int DBCS_RemoveIntrEscape(unsigned char *buf, int *len); extern int invalid_pname(const char *str); extern int is_number(const char *p); extern unsigned StringHash(const char *s); diff --git a/include/uflags.h b/include/uflags.h index 752dc73a..ea27bee5 100644 --- a/include/uflags.h +++ b/include/uflags.h @@ -4,6 +4,12 @@ #ifndef INCLUDE_UFLAGS_H #define INCLUDE_UFLAGS_H +// TODO in order to prevent masking with wrong variables +// (since we have 2 flags), it is better to rename the +// masks with their flag index, eg: +// UF_PAGER, +// UF2_WATER_ORIG, + /* -------------------- userec_t.uflag (unsigned int) */ /* UNKNOWN */ @@ -21,9 +27,9 @@ //#define MIND_FLAG 0x00000100 /* true if mind search mode open <-Heat*/ /* DBCS CONFIG */ +/* please keep these even if you don't have DBCSAWARE features turned on */ #define DBCSAWARE_FLAG 0x00000200 /* true if DBCS-aware enabled. */ -/* please keep this even if you don't have DBCSAWARE features turned on */ -// #define DBCS__??? 0x00000400 +#define DBCS_NOINTRESC 0x00000400 /* no Escapes interupting DBCS characters */ // #define DBCS__??? 0x00000800 /* Modification Mark (~) */ |