diff options
author | mhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-17 19:49:15 +0800 |
---|---|---|
committer | mhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-17 19:49:15 +0800 |
commit | 16bf63475770e642a94d5d617b000f025846fddf (patch) | |
tree | f1d0951f3dc073cb1ad6f612db883786f2884a06 /include | |
parent | d9108233ecee950fcc9aa1f0599f28adfd204537 (diff) | |
download | pttbbs-16bf63475770e642a94d5d617b000f025846fddf.tar pttbbs-16bf63475770e642a94d5d617b000f025846fddf.tar.gz pttbbs-16bf63475770e642a94d5d617b000f025846fddf.tar.bz2 pttbbs-16bf63475770e642a94d5d617b000f025846fddf.tar.lz pttbbs-16bf63475770e642a94d5d617b000f025846fddf.tar.xz pttbbs-16bf63475770e642a94d5d617b000f025846fddf.tar.zst pttbbs-16bf63475770e642a94d5d617b000f025846fddf.zip |
* Enhanced AID query UI.
* Use aidu_t(uint64_t) for AIDus.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 3 | ||||
-rw-r--r-- | include/proto.h | 14 |
2 files changed, 11 insertions, 6 deletions
diff --git a/include/common.h b/include/common.h index e8ab5da9..a94829c8 100644 --- a/include/common.h +++ b/include/common.h @@ -92,8 +92,9 @@ #define STR_POST1 "看板:" #define STR_POST2 "站內:" -/* AID */ +/* AIDS */ #define AID_DISPLAYNAME "文章代碼(AID)" +/* end of AIDS */ /* LONG MESSAGES */ #define MSG_SELECT_BOARD ANSI_COLOR(7) "【 選擇看板 】" ANSI_RESET "\n" \ diff --git a/include/proto.h b/include/proto.h index 31d0b00a..806cb94f 100644 --- a/include/proto.h +++ b/include/proto.h @@ -642,11 +642,15 @@ int qsort_intcompar(const void *a, const void *b); void pressanykey_or_callangel(void); #endif void syncnow(void); -unsigned long fn2aidu(char *fn); -char *aidu2aidc(char *buf, unsigned long aidu); -char *aidu2fn(char *buf, unsigned long aidu); -unsigned long aidc2aidu(char *aidc); -int search_aidu(char *bfile, unsigned long aidu); + +/* AIDS */ +typedef uint64_t aidu_t; +aidu_t fn2aidu(char *fn); +char *aidu2aidc(char *buf, aidu_t aidu); +char *aidu2fn(char *buf, aidu_t aidu); +aidu_t aidc2aidu(char *aidc); +int search_aidu(char *bfile, aidu_t aidu); +/* end of AIDS */ /* syspost */ int post_msg(const char* bname, const char* title, const char *msg, const char* author); |