summaryrefslogtreecommitdiffstats
path: root/include/fav.h
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-06-04 15:13:10 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-06-04 15:13:10 +0800
commit51adcb11b155e2bf4a7c9fe26b240afc255a1516 (patch)
tree8abdf1e77e43fb6e779944bfa41533257a481321 /include/fav.h
parent98a14c993a7c65e63706a0dd93860aa699fbcf2f (diff)
downloadpttbbs-51adcb11b155e2bf4a7c9fe26b240afc255a1516.tar
pttbbs-51adcb11b155e2bf4a7c9fe26b240afc255a1516.tar.gz
pttbbs-51adcb11b155e2bf4a7c9fe26b240afc255a1516.tar.bz2
pttbbs-51adcb11b155e2bf4a7c9fe26b240afc255a1516.tar.lz
pttbbs-51adcb11b155e2bf4a7c9fe26b240afc255a1516.tar.xz
pttbbs-51adcb11b155e2bf4a7c9fe26b240afc255a1516.tar.zst
pttbbs-51adcb11b155e2bf4a7c9fe26b240afc255a1516.zip
use int instead short for bid in fav
Note that fav structure is updated, which will be converted in runtime. (New fav will be $USERHOME/.fav) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/fav.h')
-rw-r--r--include/fav.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/fav.h b/include/fav.h
index 196a61d5..dea3cbba 100644
--- a/include/fav.h
+++ b/include/fav.h
@@ -1,4 +1,6 @@
+#define FAV_VERSION 3363
+
#define FAVT_BOARD 1
#define FAVT_FOLDER 2
#define FAVT_LINE 3
@@ -21,6 +23,7 @@
#define MAX_FOLDER 64
#define NEW_FAV_THRESHOLD 12 /* half page */
+#define FAV ".fav"
#define FAV4 ".fav4"
#define FAVNB ".favnb"
@@ -45,7 +48,7 @@ typedef struct {
} fav_t;
typedef struct {
- short bid;
+ int bid;
time4_t lastvisit; /* UNUSED */
char attr;
} fav_board_t;