xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_db_config.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
2.Dt SQLITE3_DB_CONFIG 3
3.Os
4.Sh NAME
5.Nm sqlite3_db_config
6.Nd configure database connections
7.Sh SYNOPSIS
8.In sqlite3.h
9.Ft int
10.Fo sqlite3_db_config
11.Fa "sqlite3*"
12.Fa "int op"
13.Fa "..."
14.Fc
15.Sh DESCRIPTION
16The sqlite3_db_config() interface is used to make configuration changes
17to a database connection.
18The interface is similar to
19.Fn sqlite3_config
20except that the changes apply to a single database connection
21(specified in the first argument).
22.Pp
23The second argument to sqlite3_db_config(D,V,...)  is the configuration verb
24- an integer code that indicates what aspect of the database connection
25is being configured.
26Subsequent arguments vary depending on the configuration verb.
27.Pp
28Calls to sqlite3_db_config() return SQLITE_OK if and only if the call
29is considered successful.
30.Sh IMPLEMENTATION NOTES
31These declarations were extracted from the
32interface documentation at line 1683.
33.Bd -literal
34SQLITE_API int sqlite3_db_config(sqlite3*, int op, ...);
35.Ed
36.Sh SEE ALSO
37.Xr sqlite3 3 ,
38.Xr sqlite3_config 3 ,
39.Xr SQLITE_DBCONFIG_MAINDBNAME 3
40