src/midgard_mysql.h

00001 /* $Id: midgard_mysql.h,v 1.1 2006/05/04 08:22:40 piotras Exp $
00002  *
00003  * midgard-lib: database access for Midgard clients
00004  *
00005  * Copyright (C) 1999 Jukka Zitting <jukka.zitting@iki.fi>
00006  * Copyright (C) 2000 The Midgard Project ry
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Library General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Library General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this library; see the file COPYING.  If not, write to
00020  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021  * Boston, MA 02111-1307, USA.
00022  */
00023 #ifndef MIDGARD_MYSQL_H
00024 #define MIDGARD_MYSQL_H
00025 
00026 #include <mysql.h>
00027 
00028 struct _midgard_mysql {
00029         MYSQL_RES *res;
00030         MYSQL_ROW row;
00031         MYSQL_FIELD *fields;
00032         MYSQL *mysql;
00033 };
00034 
00035 #endif /* MIDGARD_MYSQL_H */

Generated on Thu Feb 22 06:15:18 2007 for midgard-core by  doxygen 1.4.6