diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-04-23 00:04:12 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-04-23 00:04:12 +0800 |
commit | 945cf121ce0dfea9c37183eff0b05760bdef3a1d (patch) | |
tree | de9d25b806121418f14f7b07aeb2136497da6b36 /include | |
parent | 68a75abe1e5568bbac2dbcca6ccad8aca6a1708c (diff) | |
download | pttbbs-945cf121ce0dfea9c37183eff0b05760bdef3a1d.tar pttbbs-945cf121ce0dfea9c37183eff0b05760bdef3a1d.tar.gz pttbbs-945cf121ce0dfea9c37183eff0b05760bdef3a1d.tar.bz2 pttbbs-945cf121ce0dfea9c37183eff0b05760bdef3a1d.tar.lz pttbbs-945cf121ce0dfea9c37183eff0b05760bdef3a1d.tar.xz pttbbs-945cf121ce0dfea9c37183eff0b05760bdef3a1d.tar.zst pttbbs-945cf121ce0dfea9c37183eff0b05760bdef3a1d.zip |
give a warning if too many subscribed favorites is added at the same time
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/fav.h | 1 | ||||
-rw-r--r-- | include/proto.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/fav.h b/include/fav.h index fc719c71..3500b45f 100644 --- a/include/fav.h +++ b/include/fav.h @@ -19,6 +19,7 @@ #define MAX_FAV 1024 #define MAX_LINE 64 #define MAX_FOLDER 64 +#define NEW_FAV_THRESHOLD 50 #define FAV3 ".fav3" #define FAV4 ".fav4" diff --git a/include/proto.h b/include/proto.h index 8d358443..ca3391a4 100644 --- a/include/proto.h +++ b/include/proto.h @@ -255,7 +255,7 @@ void fav_cleanup(void); void fav_clean_invisible(void); fav_t *get_fav_folder(fav_type_t *ft); fav_t *get_fav_root(void); -void updatenewfav(int mode); +int updatenewfav(int mode); void subscribe_newfav(void); /* file */ |