/[LeafOK_CVS]/pvpgn-1.7.4/src/bnetd/sql_dbcreator.h
ViewVC logotype

Annotation of /pvpgn-1.7.4/src/bnetd/sql_dbcreator.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
Branch: GNU, MAIN
CVS Tags: pvpgn_1-7-4-0_MIL, arelease, HEAD
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
no message

1 sysadm 1.1 /*
2     * This program is free software; you can redistribute it and/or
3     * modify it under the terms of the GNU General Public License
4     * as published by the Free Software Foundation; either version 2
5     * of the License, or (at your option) any later version.
6     *
7     * This program is distributed in the hope that it will be useful,
8     * but WITHOUT ANY WARRANTY; without even the implied warranty of
9     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10     * GNU General Public License for more details.
11     *
12     * You should have received a copy of the GNU General Public License
13     * along with this program; if not, write to the Free Software
14     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15     */
16    
17     #ifndef INCLUDED_SQL_DBCREATOR_TYPES
18     #define INCLUDED_SQL_DBCRETAOR_TYPES
19    
20     #include "common/list.h"
21    
22     typedef struct column
23     #ifdef SQL_DBCREATOR_INTERNAL_ACCESS
24     {
25     char * name;
26     char * value;
27     }
28     #endif
29     t_column;
30    
31     typedef struct table
32     #ifdef SQL_DBCREATOR_INTERNAL_ACCESS
33     {
34     char * name;
35     t_list * columns;
36     }
37     #endif
38     t_table;
39    
40     typedef struct db_layout
41     #ifdef SQL_DBCREATOR_INTERNAL_ACCESS
42     {
43     t_list * tables;
44     }
45     #endif
46     t_db_layout;
47    
48    
49     #endif /* INCLUDED_SQL_DBCREATOR_TYPES */
50    
51     #ifndef JUST_NEED_TYPES
52    
53     #ifndef INCLUDED_SQL_DBCREATOR_PROTOS
54     #define INCLUDED_SQL_DBCRETAOR_PROTOS
55    
56     #include "storage_sql.h"
57    
58     int sql_dbcreator(t_sql_engine * sql);
59    
60     #endif /* INCLUDED_SQL_DBCREATOR_PROTOS */
61     #endif /* JUST_NEED_TYPES */

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1