summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cmsys.h3
-rw-r--r--include/proto.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/include/cmsys.h b/include/cmsys.h
index 42b0d032..7300183e 100644
--- a/include/cmsys.h
+++ b/include/cmsys.h
@@ -35,7 +35,7 @@ typedef time_t time4_t;
char *fcrypt(const char *key, const char *salt);
/* file.c */
-extern off_t dashs(const char *fname);
+extern off_t dashs(const char *fname);
extern time4_t dasht(const char *fname);
extern time4_t dashc(const char *fname);
extern int dashl(const char *fname);
@@ -50,6 +50,7 @@ extern int Copy(const char *src, const char *dst);
extern int CopyN(const char *src, const char *dst, int n);
extern int AppendTail(const char *src, const char *dst, int off);
extern int Link(const char *src, const char *dst);
+extern int HardLink(const char *src, const char *dst);
extern int file_count_line(const char *file);
extern int file_append_line(const char *file, const char *string); // does not append "\n"
extern int file_append_record(const char *file, const char *key); // will append "\n"
diff --git a/include/proto.h b/include/proto.h
index dabdbc18..b51e0147 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -357,6 +357,7 @@ int x_love(void);
int load_mailalert(const char *userid);
int sendalert(const char *userid, int alert);
int mail_muser(const userec_t muser, const char *title, const char *filename);
+int mail_log2id(const char *id, const char *title, const char *srcfile, const char *owner, char newmail, char trymove);
int mail_id(const char* id, const char *title, const char *filename, const char *owner);
int m_read(void);
int doforward(const char *direct, const fileheader_t *fh, int mode);
@@ -528,6 +529,7 @@ int setupnewuser(const userec_t *user);
int regform_estimate_queuesize();
void new_register(void);
void check_register(void);
+// void check_register_notify(void);
void delregcodefile(void);
char *genpasswd(char *pw);
@@ -776,6 +778,7 @@ int passwd_update_money(int num);
void passwd_force_update(int flag);
int initcuser(const char *userid);
int freecuser(void);
+int passwd_add_my_numpost(int diff); // temporary hack before new account system ready.
/* calendar */