summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-22 18:57:07 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-22 18:57:07 +0800
commit53e6dee545900c4216f76ada582c3494b644486e (patch)
treea99e193d918740701bde346b6b5a9c2c393f99b4 /include
parent011c20190d1584a43153c11c29d64a1668f6870e (diff)
downloadpttbbs-53e6dee545900c4216f76ada582c3494b644486e.tar
pttbbs-53e6dee545900c4216f76ada582c3494b644486e.tar.gz
pttbbs-53e6dee545900c4216f76ada582c3494b644486e.tar.bz2
pttbbs-53e6dee545900c4216f76ada582c3494b644486e.tar.lz
pttbbs-53e6dee545900c4216f76ada582c3494b644486e.tar.xz
pttbbs-53e6dee545900c4216f76ada582c3494b644486e.tar.zst
pttbbs-53e6dee545900c4216f76ada582c3494b644486e.zip
fix 't' for admin
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1362 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/fav.h3
-rw-r--r--include/proto.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/fav.h b/include/fav.h
index 5e34189d..2e824471 100644
--- a/include/fav.h
+++ b/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/include/proto.h b/include/proto.h
index 312659dd..fa7ffd06 100644
--- a/include/proto.h
+++ b/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);