aboutsummaryrefslogtreecommitdiff
path: root/ext/userauth/sqlite3userauth.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-11 00:27:53 +0000
committerdrh <drh@noemail.net>2014-09-11 00:27:53 +0000
commitd39c40ff5e89601a242f004faa45735e80275fcb (patch)
treed3ec2397a2362c249668d09c7f6c384531670256 /ext/userauth/sqlite3userauth.h
parent09e60541aecde780c2d16d7d7e8284235247b375 (diff)
downloadsqlite-d39c40ff5e89601a242f004faa45735e80275fcb.tar.gz
sqlite-d39c40ff5e89601a242f004faa45735e80275fcb.zip
Reorder parameters on the sqlite3_user_*() interfaces for consistency.
Add the first TCL test cases. FossilOrigin-Name: 2f6d8f32eef526b5912f42ab467e3c7812480d8b
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 */
);
/*