diff options
Diffstat (limited to 'src/include/gnunet_mysql_lib.h')
-rw-r--r-- | src/include/gnunet_mysql_lib.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/gnunet_mysql_lib.h b/src/include/gnunet_mysql_lib.h index 0fef43a5a..964483024 100644 --- a/src/include/gnunet_mysql_lib.h +++ b/src/include/gnunet_mysql_lib.h | |||
@@ -66,7 +66,7 @@ struct GNUNET_MYSQL_StatementHandle; | |||
66 | typedef int | 66 | typedef int |
67 | (*GNUNET_MYSQL_DataProcessor) (void *cls, | 67 | (*GNUNET_MYSQL_DataProcessor) (void *cls, |
68 | unsigned int num_values, | 68 | unsigned int num_values, |
69 | MYSQL_BIND * values); | 69 | MYSQL_BIND *values); |
70 | 70 | ||
71 | 71 | ||
72 | /** | 72 | /** |
@@ -77,8 +77,8 @@ typedef int | |||
77 | * @return the mysql context | 77 | * @return the mysql context |
78 | */ | 78 | */ |
79 | struct GNUNET_MYSQL_Context * | 79 | struct GNUNET_MYSQL_Context * |
80 | GNUNET_MYSQL_context_create(const struct GNUNET_CONFIGURATION_Handle *cfg, | 80 | GNUNET_MYSQL_context_create (const struct GNUNET_CONFIGURATION_Handle *cfg, |
81 | const char *section); | 81 | const char *section); |
82 | 82 | ||
83 | 83 | ||
84 | /** | 84 | /** |
@@ -87,7 +87,7 @@ GNUNET_MYSQL_context_create(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
87 | * @param mc context to destroy | 87 | * @param mc context to destroy |
88 | */ | 88 | */ |
89 | void | 89 | void |
90 | GNUNET_MYSQL_context_destroy(struct GNUNET_MYSQL_Context *mc); | 90 | GNUNET_MYSQL_context_destroy (struct GNUNET_MYSQL_Context *mc); |
91 | 91 | ||
92 | 92 | ||
93 | /** | 93 | /** |
@@ -98,7 +98,7 @@ GNUNET_MYSQL_context_destroy(struct GNUNET_MYSQL_Context *mc); | |||
98 | * @param mc mysql context | 98 | * @param mc mysql context |
99 | */ | 99 | */ |
100 | void | 100 | void |
101 | GNUNET_MYSQL_statements_invalidate(struct GNUNET_MYSQL_Context *mc); | 101 | GNUNET_MYSQL_statements_invalidate (struct GNUNET_MYSQL_Context *mc); |
102 | 102 | ||
103 | 103 | ||
104 | /** | 104 | /** |
@@ -110,7 +110,7 @@ GNUNET_MYSQL_statements_invalidate(struct GNUNET_MYSQL_Context *mc); | |||
110 | * @return MySQL statement handle, NULL on error | 110 | * @return MySQL statement handle, NULL on error |
111 | */ | 111 | */ |
112 | MYSQL_STMT * | 112 | MYSQL_STMT * |
113 | GNUNET_MYSQL_statement_get_stmt(struct GNUNET_MYSQL_StatementHandle *sh); | 113 | GNUNET_MYSQL_statement_get_stmt (struct GNUNET_MYSQL_StatementHandle *sh); |
114 | 114 | ||
115 | 115 | ||
116 | /** | 116 | /** |
@@ -122,8 +122,8 @@ GNUNET_MYSQL_statement_get_stmt(struct GNUNET_MYSQL_StatementHandle *sh); | |||
122 | * @return prepared statement, NULL on error | 122 | * @return prepared statement, NULL on error |
123 | */ | 123 | */ |
124 | struct GNUNET_MYSQL_StatementHandle * | 124 | struct GNUNET_MYSQL_StatementHandle * |
125 | GNUNET_MYSQL_statement_prepare(struct GNUNET_MYSQL_Context *mc, | 125 | GNUNET_MYSQL_statement_prepare (struct GNUNET_MYSQL_Context *mc, |
126 | const char *query); | 126 | const char *query); |
127 | 127 | ||
128 | 128 | ||
129 | /** | 129 | /** |
@@ -135,8 +135,8 @@ GNUNET_MYSQL_statement_prepare(struct GNUNET_MYSQL_Context *mc, | |||
135 | * #GNUNET_SYSERR if there was a problem | 135 | * #GNUNET_SYSERR if there was a problem |
136 | */ | 136 | */ |
137 | int | 137 | int |
138 | GNUNET_MYSQL_statement_run(struct GNUNET_MYSQL_Context *mc, | 138 | GNUNET_MYSQL_statement_run (struct GNUNET_MYSQL_Context *mc, |
139 | const char *sql); | 139 | const char *sql); |
140 | 140 | ||
141 | 141 | ||
142 | #if 0 /* keep Emacsens' auto-indent happy */ | 142 | #if 0 /* keep Emacsens' auto-indent happy */ |