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
20 * Author: Martin Kelm <martinkelm@idxsolutions.de>
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();
35 GArray
*mysqlIndexRows
;