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>2012-05-25 14:20:34 -0400
commit4b1a7a34ceb59a773dcd218808fb3963595d6f00 (patch)
treeaa8a60f8894b70a8205e3f1389a5221a7c53a51c /duser.h
parent151245180e219949791225edf808f0362066d6d6 (diff)
downloadduser-4b1a7a34ceb59a773dcd218808fb3963595d6f00.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