a041800f |
/*
* MySQL module interface
*
|
d54e993e |
* Copyright (C) 2001-2003 FhG Fokus
|
a041800f |
*
|
db26c5ce |
* This file is part of Kamailio, a free SIP server.
|
a041800f |
*
|
db26c5ce |
* Kamailio is free software; you can redistribute it and/or modify
|
a041800f |
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version
*
|
db26c5ce |
* Kamailio is distributed in the hope that it will be useful,
|
a041800f |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
|
9e1ff448 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
a041800f |
*/
|
4198a3a2 |
#ifndef _MYSQL_MOD_H
#define _MYSQL_MOD_H
|
a041800f |
|
7ca3941c |
#include "../../counters.h"
/* counter struct
*/
struct mysql_counters_h {
counter_handle_t driver_err;
};
/* defined in km_dbase.c */
extern struct mysql_counters_h mysql_cnts_h;
|
b263021e |
/** @defgroup mysql MySQL db driver
|
95e252d5 |
* @ingroup DB_API
|
b263021e |
*/
/** @{ */
|
7ca3941c |
|
a201f9ae |
extern int my_ping_interval;
|
1bc0f4e4 |
extern unsigned int my_connect_to;
extern unsigned int my_send_to;
extern unsigned int my_recv_to;
extern unsigned long my_client_ver;
|
a201f9ae |
extern unsigned int my_retries;
|
b263021e |
/** @} */
|
1bc0f4e4 |
|
4198a3a2 |
#endif /* _MYSQL_MOD_H */
|