Added ssl status responses
[jimb.git] / src / mysql.h
blob169e1f901afaf1ef5432d3b484caafa80e7cf59b
1 /**
2 * JIMCI (Jabber Instant Messaging Connection Interface)
3 * This file is part of JIMB.
5 * JIMCI is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License Version 3
7 * as published by the Free Software Foundation.
9 * JIMCI is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License Version 3
15 * along with JIMCI; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 * File: MySQL connection header
19 * Package: JIMCI
20 * Author: Martin Kelm <martinkelm@idxsolutions.de>
22 #include <glib.h>
24 int mysql_insert_values(const gchar *table, const gchar *values);
26 int mysql_trunk_values(const gchar *table);
28 gboolean mysql_fetch_rows(const gchar *table, const gchar *columns);
30 int mysql_connect(char *server, char *user, char *password, char *database);
32 int mysql_disconnect();
34 GArray *mysqlFields;
35 GArray *mysqlIndexRows;