diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -40,16 +40,11 @@ // getconfstr() returns. int getconfstr(char *confname, char *filename, char* dest); -// Returns the avlue of the configuration option with name +// Returns the value of the configuration option with name // 'confname' from configuration file 'filename'. // Sets errno to 0 on success, or ECONFINT if it fails, in which case the return value is undefined. int getconfint(char *confname, char *filename); -// Check the password provided in the string 'str' against what is in -// the configuration file 'filename'. -// Return 0 for password mismatch, or 1 for password match. -int checkpassword(char *password, char *filename); - // Create the default configuration file. // Return 1 on success, 0 on failure. int createconfigfile(char *filename); |