aboutsummaryrefslogtreecommitdiff
path: root/duser.h
Commit message (Collapse)AuthorAgeFilesLines
* Command line argument "new" addedtesting-pre1bJoseph Hunkeler2011-04-061-0/+1
| | | | user_new_list() function added
* Starting to port to Solaris 10... sigh.testing-pre1a-sol10Joseph Hunkeler2011-04-061-1/+7
|
* Added cfg_open(), cfg_get_key(), and cfg_close()Joseph Hunkeler2011-04-051-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 Hunkeler2011-04-031-0/+1
| | | | Adding code to add a user to a list
* Working delete-all command "delA"Joseph Hunkeler2011-03-301-14/+8
|
* Initial commitJoseph Hunkeler2011-03-281-0/+54