diff options
Diffstat (limited to 'src/include/gnunet_mysql_lib.h')
-rw-r--r-- | src/include/gnunet_mysql_lib.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/gnunet_mysql_lib.h b/src/include/gnunet_mysql_lib.h index dbbcd2b19..0fef43a5a 100644 --- a/src/include/gnunet_mysql_lib.h +++ b/src/include/gnunet_mysql_lib.h | |||
@@ -11,12 +11,12 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @author Christian Grothoff | 21 | * @author Christian Grothoff |
22 | * | 22 | * |
@@ -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 */ |