OLD | NEW |
1 /* | 1 /* |
2 ** 2014-09-21 | 2 ** 2014-09-21 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 sqlite3 *db, | 94 sqlite3 *db, |
95 char **pzErrMsg, | 95 char **pzErrMsg, |
96 const sqlite3_api_routines *pApi | 96 const sqlite3_api_routines *pApi |
97 ){ | 97 ){ |
98 int rc = SQLITE_OK; | 98 int rc = SQLITE_OK; |
99 SQLITE_EXTENSION_INIT2(pApi); | 99 SQLITE_EXTENSION_INIT2(pApi); |
100 (void)pzErrMsg; /* Unused parameter */ | 100 (void)pzErrMsg; /* Unused parameter */ |
101 rc = sqlite3_set_authorizer(db, authCallback, 0); | 101 rc = sqlite3_set_authorizer(db, authCallback, 0); |
102 return rc; | 102 return rc; |
103 } | 103 } |
OLD | NEW |