aboutsummaryrefslogtreecommitdiff
path: root/duser.h
Commit message (Collapse)AuthorAgeFilesLines
* cfg.c now depends on cfg.hJoseph Hunkeler2012-05-251-3/+0
| | | | | duser.c depends on cfg.h Removed cfg prototypes from duser.h
* GNU GPLv3 licensing added.Joseph Hunkeler2012-05-251-0/+20
|
* Fixed Solaris 10 segfault. If list_path was null, snprintf would write bad ↵Joseph Hunkeler2012-05-251-6/+4
| | | | data into the filename. While loop in user_cmd() was removed because it was never used as intended.
* Command line argument "new" addedJoseph Hunkeler2012-05-251-0/+1
| | | | user_new_list() function added
* Starting to port to Solaris 10... sigh.Joseph Hunkeler2012-05-251-1/+7
|
* Added cfg_open(), cfg_get_key(), and cfg_close()Joseph Hunkeler2012-05-251-5/+4
| | | | | | | | | | | | | | | | Added configuration file parsing, and removed constants (list_path, LOGFILE). CFG_PATH is defined in duser.h and will need to be changed before compiling. Removed basename in favor of libgen.h Log no longer reports DELETE ALL/SINGLE. Just DELETE. Fixed a ridiculous file truncation mistake in user_del(). Removed dependency on libtre... it sucks. Decided to go with libc searching -- seems to work better. (strfind()) We now validate strings passed as arguments to make sure they cannot cause arbitrary code execution, or accidental damage. (strval()) Added match column to list output. user_add was truncating files... fixed. CMD_FLAG_ADD will verify adding addresses to a mailing list. CMD_FLAG_MOD will display a temporary error (not done) If a corrupt record ever occurs it returns -1.
* Fixed bug where (rec = NULL) caused user_del to flip out.Joseph Hunkeler2012-05-251-0/+1
| | | | Adding code to add a user to a list
* Working delete-all command "delA"Joseph Hunkeler2012-05-251-14/+8
|
* Initial commitJoseph Hunkeler2012-05-251-0/+54