aboutsummaryrefslogtreecommitdiff
path: root/duser.h
Commit message (Collapse)AuthorAgeFilesLines
* Partial autotools conversion to help out JoeAlan Brault2011-05-021-82/+0
|
* Utilizing static progname variable. Local variables removed from functions ↵Joseph Hunkeler2011-04-211-1/+8
| | | | that used it. Added version().
* Added missing function prototypes.Joseph Hunkeler2011-04-201-0/+5
|
* cfg.c now depends on cfg.hJoseph Hunkeler2011-04-191-3/+0
| | | | | duser.c depends on cfg.h Removed cfg prototypes from duser.h
* GNU GPLv3 licensing added.testing-pre1cJoseph Hunkeler2011-04-081-0/+20
|
* Fixed Solaris 10 segfault. If list_path was null, snprintf would write bad ↵Joseph Hunkeler2011-04-081-6/+4
| | | | data into the filename. While loop in user_cmd() was removed because it was never used as intended.
* 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