aboutsummaryrefslogtreecommitdiff
path: root/src/sql.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-12-02 20:58:39 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-12-02 20:58:39 +0200
commit565650272f219fd372347f0ff3375b09caa18952 (patch)
tree9e9c96e4fb72332df0e1dd8fef9c51905b0793aa /src/sql.h
parent3164dc277082c023337d32ecf21da62d991399af (diff)
downloadwydawca-565650272f219fd372347f0ff3375b09caa18952.tar.gz
wydawca-565650272f219fd372347f0ff3375b09caa18952.tar.bz2
Initial implementation of mysql over SSL.
* src/config.c (sql_kw): New keyword `ssl-ca'. * src/sql.c (sql_init_method): Initialize SSL, if required. * src/sql.h (struct sqlconn): New member `cacert'.
Diffstat (limited to 'src/sql.h')
-rw-r--r--src/sql.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql.h b/src/sql.h
index d581e57..1780052 100644
--- a/src/sql.h
+++ b/src/sql.h
@@ -25,6 +25,7 @@ struct sqlconn
char *database;
char *user;
char *password;
+ char *cacert;
size_t initcount; /* Number of initializations */
MYSQL mysql;
MYSQL_RES *result;

Return to:

Send suggestions and report system problems to the System administrator.