aboutsummaryrefslogtreecommitdiff
path: root/src/sql.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-04-10 21:04:21 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-04-10 21:07:52 +0300
commita9da878ff22f980cea3bf3102113d7f2e65f61e9 (patch)
treedd3e21c580b91f6ab3d64e228ccb23170f3ddac3 /src/sql.h
parentda966c314f92d17b45ede9aa77ad3d3624c36725 (diff)
downloadwydawca-a9da878ff22f980cea3bf3102113d7f2e65f61e9.tar.gz
wydawca-a9da878ff22f980cea3bf3102113d7f2e65f61e9.tar.bz2
Change indentation to improve readability.
Diffstat (limited to 'src/sql.h')
-rw-r--r--src/sql.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/sql.h b/src/sql.h
index 774ef3a..0653a9d 100644
--- a/src/sql.h
+++ b/src/sql.h
@@ -17,19 +17,19 @@
#include <mysql/mysql.h>
struct sqlconn {
- char *ident;
- char *config_file;
- char *config_group;
- char *host;
- char *socket;
- short port;
- char *database;
- char *user;
- char *password;
- char *cacert;
- size_t initcount; /* Number of initializations */
- MYSQL mysql;
- MYSQL_RES *result;
+ char *ident;
+ char *config_file;
+ char *config_group;
+ char *host;
+ char *socket;
+ short port;
+ char *database;
+ char *user;
+ char *password;
+ char *cacert;
+ size_t initcount; /* Number of initializations */
+ MYSQL mysql;
+ MYSQL_RES *result;
};
void sql_register_conn(struct sqlconn *);
@@ -45,4 +45,5 @@ int sql_lookup_dictionary(struct dictionary *dict, void *handle,
int sql_get_dictionary(struct dictionary *dict, void *handle,
unsigned nrow, unsigned ncol);
int sql_free_result(struct dictionary *dict, void *handle);
-int sql_quote(struct dictionary *, void *, const char *, char **, size_t *);
+int sql_quote(struct dictionary *, void *, const char *, char **,
+ size_t *);

Return to:

Send suggestions and report system problems to the System administrator.