From af720d173a3a0507162770330876cad126ec33c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 29 Sep 2011 09:25:59 -0400 Subject: Added prototypes --- include/duser.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/duser.h') diff --git a/include/duser.h b/include/duser.h index 5a70fe4..ac915c8 100644 --- a/include/duser.h +++ b/include/duser.h @@ -25,6 +25,7 @@ #include "config.h" #endif +#include #include #ifndef PATH_MAX # define PATH_MAX 256 @@ -66,6 +67,7 @@ typedef struct record_t void usage(void); int strval(const char* str); int strfind(const char* str1, const char* str2); +int touch(const char* filename, mode_t mode); int logcleanup(void); int COM(const char* func, const char *format, ...); record_t* find_in_file(const char* filename, const char* needle); @@ -82,5 +84,9 @@ int user_cmd(const int argc, char* argv[]); int user_choice(char c); int user_add(const char* filename, const char* needle); int user_new_list(const char* fname); +char* str_replace(char* str, char* old, char* new); +char* getfile(const char* filename); +int mailer(const char* subj, const char* from, const char* to, const char* mesg); +int mklist(char* str); int check_cmd_string(char** args, const char* str2, int count); #endif -- cgit