diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-22 18:57:07 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-22 18:57:07 +0800 |
commit | f5441836899565d8795f84b0702ce946f1fbc819 (patch) | |
tree | b7f4ab5cb11810104e8e65b4623bd82b0536a095 | |
parent | 623473aadff99b65b346fc248ad3130ddc4bf419 (diff) | |
download | pttbbs-f5441836899565d8795f84b0702ce946f1fbc819.tar pttbbs-f5441836899565d8795f84b0702ce946f1fbc819.tar.gz pttbbs-f5441836899565d8795f84b0702ce946f1fbc819.tar.bz2 pttbbs-f5441836899565d8795f84b0702ce946f1fbc819.tar.lz pttbbs-f5441836899565d8795f84b0702ce946f1fbc819.tar.xz pttbbs-f5441836899565d8795f84b0702ce946f1fbc819.tar.zst pttbbs-f5441836899565d8795f84b0702ce946f1fbc819.zip |
fix 't' for admin
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1362 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/include/fav.h | 3 | ||||
-rw-r--r-- | pttbbs/include/proto.h | 1 |
2 files changed, 4 insertions, 0 deletions
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); |