/ Check-in [ffd61fb4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add an 'extern "C"' block to header file sqlite3userauth.h.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ffd61fb449a510b2fc90caf86b266733051cc365
User & Date: dan 2017-02-25 20:57:46
Context
2017-02-27
12:23
Remove references to special handling in virtual table methods from the documentation for sqlite3_last_insert_rowid(). check-in: 660f9569 user: dan tags: trunk
2017-02-25
20:57
Add an 'extern "C"' block to header file sqlite3userauth.h. check-in: ffd61fb4 user: dan tags: trunk
17:47
Optimize defragmentPage() in the case where the page contains either one or two free-blocks and a small number of fragmented bytes. check-in: 4cd2a967 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/userauth/sqlite3userauth.h.

    17     17   ** end of an SQLite amalgamation header file ("sqlite3.h"), then add
    18     18   ** the SQLITE_USER_AUTHENTICATION compile-time option.  See the
    19     19   ** user-auth.txt file in the same source directory as this file for
    20     20   ** additional information.
    21     21   */
    22     22   #ifdef SQLITE_USER_AUTHENTICATION
    23     23   
           24  +#ifdef __cplusplus
           25  +extern "C" {
           26  +#endif
           27  +
    24     28   /*
    25     29   ** If a database contains the SQLITE_USER table, then the
    26     30   ** sqlite3_user_authenticate() interface must be invoked with an
    27     31   ** appropriate username and password prior to enable read and write
    28     32   ** access to the database.
    29     33   **
    30     34   ** Return SQLITE_OK on success or SQLITE_ERROR if the username/password
................................................................................
    80     84   ** the database cannot be converted into a no-authentication-required
    81     85   ** database.
    82     86   */
    83     87   int sqlite3_user_delete(
    84     88     sqlite3 *db,           /* Database connection */
    85     89     const char *zUsername  /* Username to remove */
    86     90   );
           91  +
           92  +#ifdef __cplusplus
           93  +}  /* end of the 'extern "C"' block */
           94  +#endif
    87     95   
    88     96   #endif /* SQLITE_USER_AUTHENTICATION */