summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/config.h b/config.h
index b204b5f..2f2db9f 100644
--- a/config.h
+++ b/config.h
@@ -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);