Better document headers in common/auth.h
authorChip Black <bytex64@bytex64.net>
Sat, 23 Nov 2013 20:39:19 +0000 (14:39 -0600)
committerChip Black <bytex64@bytex64.net>
Sat, 29 Mar 2014 03:56:23 +0000 (22:56 -0500)
common/auth.h

index 651813f..24fd293 100644 (file)
 #define SCRYPT_r 8
 #define SCRYPT_p 1
 
-int auth_set_password(const char *, const char *);
-int auth_get_password_version(const char *);
-int auth_get_password(const char *, char *);
-int auth_get_salt(const char *, char *);
-int auth_check_password(const char *, const char *);
+int auth_set_password(const char *username, const char *password);
+int auth_get_password_version(const char *username);
+int auth_get_password(const char *username, char *password);
+int auth_get_salt(const char *username, char *salt);
+int auth_check_password(const char *username, const char *password);
 char * auth_login(const char *username, const char *password);
 int auth_logout(const char *username, const char *token);
 int auth_check_token(const char *username, const char *given_token);