diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 7 | ||||
-rw-r--r-- | include/pttstruct.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h index 6c42c241..187f4c90 100644 --- a/include/proto.h +++ b/include/proto.h @@ -239,6 +239,12 @@ fav_t *get_fav_root(void); void updatenewfav(int mode); void subscribe_newfav(void); +/* file */ +int file_count_line(char *file); +int file_append_line(char *file, char *string); +int file_delete_line(char *file, char *string); +int file_exist_record(char *file, char *string); + /* friend */ void friend_edit(int type); void friend_load(int); @@ -246,6 +252,7 @@ int t_override(void); int t_reject(void); void friend_add(char *uident, int type, char *des); void friend_delete(char *uident, int type); +void friend_delete_all(char *uident, int type); void friend_special(void); void setfriendfile(char *fpath, int type); diff --git a/include/pttstruct.h b/include/pttstruct.h index 8f00de01..135967ee 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -80,7 +80,7 @@ typedef struct userec_t { chicken_t mychicken; time_t lastsong; unsigned int loginview; - unsigned char channel; /* °ÊºA¬ÝªO */ + unsigned char channel; /* °ÊºA¬ÝªO (unused?) */ unsigned short vl_count; /* ViolateLaw counter */ unsigned short five_win; unsigned short five_lose; |