diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-04 03:37:23 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-04 03:37:23 +0800 |
commit | ea5f148819c3986ef751dce5d83d9314f920b10c (patch) | |
tree | 8e07d0610d342b3de83dbc1d9cc83e725a61f34d /include | |
parent | 64abee05405680452d0e7d8b7237d6de0cb12cdf (diff) | |
download | pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.gz pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.bz2 pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.lz pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.xz pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.tar.zst pttbbs-ea5f148819c3986ef751dce5d83d9314f920b10c.zip |
- add option to support both coloured and symboled modification mark (~ and +)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/convert.h | 2 | ||||
-rw-r--r-- | include/uflags.h | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/include/convert.h b/include/convert.h index c5303d56..a4f1b410 100644 --- a/include/convert.h +++ b/include/convert.h @@ -11,7 +11,7 @@ typedef ssize_t (*read_write_type)(int, void *, size_t); typedef ssize_t (*convert_type)(void *, ssize_t); -extern int bbs_convert_type; +// extern int bbs_convert_type; #endif // CONVERT #endif // _BBS_CONVERT_H diff --git a/include/uflags.h b/include/uflags.h index 48bcc326..1686c98e 100644 --- a/include/uflags.h +++ b/include/uflags.h @@ -23,9 +23,15 @@ /* DBCS CONFIG */ #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__??? 0x00000800 + +/* Modification Mark (~) */ +#define NO_MODMARK_FLAG 0x00001000 /* true if modified files are NOT marked */ +#define COLORED_MODMARK 0x00002000 /* true if mod-mark is coloured. */ /* NEW ENTRY HERE */ -// #define ??__??? 0x00000400 +// #define ??__??? 0x00010000 /* -------------------- userec_t.uflag2 (unsigned int) */ |