summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h3
-rw-r--r--include/proto.h14
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);