aboutsummaryrefslogtreecommitdiff
path: root/duser.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2011-04-03 23:59:38 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2011-04-03 23:59:38 -0400
commit5150ee8601c6ee78407a2a8cae96d6a07ece5f52 (patch)
treeaa8a60f8894b70a8205e3f1389a5221a7c53a51c /duser.h
parente62a7775c4ba4d2d24fd5096f9e790c40e0a44f9 (diff)
downloadduser-5150ee8601c6ee78407a2a8cae96d6a07ece5f52.tar.gz
Fixed bug where (rec = NULL) caused user_del to flip out.
Adding code to add a user to a list
Diffstat (limited to 'duser.h')
-rw-r--r--duser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/duser.h b/duser.h
index 600c96f..764ff76 100644
--- a/duser.h
+++ b/duser.h
@@ -44,5 +44,6 @@ int find_in_file_ex(record_t* rec);
int user_del(record_t* rec);
int user_cmd(const int argc, char* argv[]);
int user_choice(char c);
+int user_add(const char* filename, const char* needle);
#endif