A C-strucutre which represents a database connection. More...
#include <pam_kmux_options.h>
Data Fields | |
| char * | connstr |
| char * | host |
| char * | db |
| char * | table |
| char * | timeout |
| db_type | type |
| char * | port |
| char * | user |
| char * | passwd |
| char * | sslmode |
| char * | column_user |
| char * | column_pwd |
| char * | query_pwd |
| char * | query_auth |
| pw_scheme | pw_type |
A C-strucutre which represents a database connection.
This struct represents a database entry configured in the configuration file.
| char* modopt_s::column_pwd |
table-column with contains the password of the user specified by column_user.
| char* modopt_s::column_user |
table-column with unique user information - needed to specify user, that wants to update password.
| char* modopt_s::connstr |
connection-string: connection sql-command (till now only needed by postgres-databases).
| char* modopt_s::db |
database: the database-name.
| char* modopt_s::host |
host: the host of the database.
| char* modopt_s::passwd |
passwd: database-password to establish a connection.
| char* modopt_s::port |
port: port for the database connection.
password-scheme: specification of the password type pw_scheme.
| char* modopt_s::query_auth |
password-get-query: query to get password.
| char* modopt_s::query_pwd |
password-set-query: query change password.
| char* modopt_s::sslmode |
sslmode: sslmode of database (till now only needed by postgres-databases).
| char* modopt_s::table |
table: table which contains the password-field.
| char* modopt_s::timeout |
timeout: timeout for database connection (till now only needed by postgres-databases).
database-type: specification of the database type db_type.
| char* modopt_s::user |
user: database-user to establish a connection.
1.6.3