From f5441836899565d8795f84b0702ce946f1fbc819 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 22 Nov 2003 10:57:07 +0000 Subject: fix 't' for admin git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1362 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/include/fav.h | 3 +++ pttbbs/include/proto.h | 1 + 2 files changed, 4 insertions(+) diff --git a/pttbbs/include/fav.h b/pttbbs/include/fav.h index 5e34189d..2e824471 100644 --- a/pttbbs/include/fav.h +++ b/pttbbs/include/fav.h @@ -6,6 +6,9 @@ #define FAVH_FAV 1 #define FAVH_TAG 2 #define FAVH_UNREAD 4 +#define FAVH_ADM_TAG 8 +/* 站長用 t 來管理 (eg.搬移) 看板時 舊的作法是把這些 tag 起來的看板 + * 記錄在 fav 裡面。為了不再多花其他記憶體,這邊繼續沿用。*/ #define TRUE 1 #define FALSE 0 diff --git a/pttbbs/include/proto.h b/pttbbs/include/proto.h index 312659dd..fa7ffd06 100644 --- a/pttbbs/include/proto.h +++ b/pttbbs/include/proto.h @@ -210,6 +210,7 @@ int iseditlocking(char *fpath, char *action); /* fav */ void fav_set_old_folder(fav_t *fp); +int get_data_tail(fav_t *fp); int get_data_number(fav_t *fp); int get_current_fav_level(void); fav_t *get_current_fav(void); -- cgit v1.2.3