2
* Copyright (C) 2000 S�bastien LECACHEUR
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program 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
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
* @header gwdbcatalog.h
23
* Copyright (C) 2000 S�bastien LECACHEUR<br /><br />
24
* This Distributed under the terms of the <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public Licence</a><br /><br />
25
* This component was developed for the GWhere project.<br />
26
* It's an object for catalog database...
27
* @abstract This is the catalog database structure.
28
* @author S�bastien LECACHEUR <zero@gwhere.org>
29
* @version 1.0 2004/06/07
32
* @link GWhere Web Site <http://www.gwhere.org>
33
* @link GTK+ Web Site <http://www.gtk.org>
35
* @author Author <zero@gwhere.org>
39
#ifndef GW_DATA_DB_CATALOG_H
40
#define GW_DATA_DB_CATALOG_H
43
typedef struct gw_db_catalog_s GWDBCatalog;
46
GWDBCatalog * gw_db_catalog_new ( void);
47
gint gw_db_catalog_set_name ( GWDBCatalog *catalog, gchar *name);
48
gint gw_db_catalog_set_short_db_name ( GWDBCatalog *catalog, gchar *db_name);
49
gint gw_db_catalog_set_db_name ( GWDBCatalog *catalog, gchar *db_name);
50
gint gw_db_catalog_set_version ( GWDBCatalog *catalog, gchar *version);
51
gint gw_db_catalog_set_program_builder ( GWDBCatalog *catalog, gchar *program_builder);
52
gint gw_db_catalog_set_description ( GWDBCatalog *catalog, gchar *_description);
53
gint gw_db_catalog_set_size ( GWDBCatalog *catalog, gulong size);
54
gint gw_db_catalog_set_ismodified ( GWDBCatalog *catalog, gboolean modified);
55
gchar * gw_db_catalog_get_name ( GWDBCatalog *catalog);
56
gchar * gw_db_catalog_get_db_name ( GWDBCatalog *catalog);
57
gchar * gw_db_catalog_get_short_db_name ( GWDBCatalog *catalog);
58
gchar * gw_db_catalog_get_version ( GWDBCatalog *catalog);
59
gchar * gw_db_catalog_get_program_builder ( GWDBCatalog *catalog);
60
gchar * gw_db_catalog_get_description ( GWDBCatalog *catalog);
61
gulong gw_db_catalog_get_size ( GWDBCatalog *catalog);
62
gboolean gw_db_catalog_is_modified ( GWDBCatalog *catalog);
63
GWDBCatalog * gw_db_catalog_dup ( GWDBCatalog *catalog, GWDBCatalog **dup);
64
gint gw_db_catalog_free ( GWDBCatalog *catalog);
65
gboolean gw_db_catalog_equals ( GWDBCatalog *catalog, GWDBCatalog *to);