aboutsummaryrefslogtreecommitdiff
path: root/ext/userauth/sqlite3userauth.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/userauth/sqlite3userauth.h')
-rw-r--r--ext/userauth/sqlite3userauth.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/userauth/sqlite3userauth.h b/ext/userauth/sqlite3userauth.h
index 9f95e9fe7..619477cac 100644
--- a/ext/userauth/sqlite3userauth.h
+++ b/ext/userauth/sqlite3userauth.h
@@ -36,8 +36,8 @@
int sqlite3_user_authenticate(
sqlite3 *db, /* The database connection */
const char *zUsername, /* Username */
- int nPW, /* Number of bytes in aPW[] */
- const char *aPW /* Password or credentials */
+ const char *aPW, /* Password or credentials */
+ int nPW /* Number of bytes in aPW[] */
);
/*
@@ -53,9 +53,9 @@ int sqlite3_user_authenticate(
int sqlite3_user_add(
sqlite3 *db, /* Database connection */
const char *zUsername, /* Username to be added */
- int isAdmin, /* True to give new user admin privilege */
+ const char *aPW, /* Password or credentials */
int nPW, /* Number of bytes in aPW[] */
- const char *aPW /* Password or credentials */
+ int isAdmin /* True to give new user admin privilege */
);
/*
@@ -68,9 +68,9 @@ int sqlite3_user_add(
int sqlite3_user_change(
sqlite3 *db, /* Database connection */
const char *zUsername, /* Username to change */
- int isAdmin, /* Modified admin privilege for the user */
+ const char *aPW, /* New password or credentials */
int nPW, /* Number of bytes in aPW[] */
- const char *aPW /* Modified password or credentials */
+ int isAdmin /* Modified admin privilege for the user */
);
/*