Logo Search packages:      
Sourcecode: happydigger version File versions  Download package

db.h

/*
 * happydigger - program for cataloging archaeological finds
 * Copyright (C) 2004, 2005, 2007 Joop Stakenborg <pg4i@amsat.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * 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.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Library 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
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 */

#include <sqlite3.h>

gint create_db (gchar *name);
void find_tables (void);
gint db_entries (void);
gint load_from_db (gint line);
void delete_from_db (gint line);
gint add_to_db (void);
void update_db (gint line);
gint max_db (void);
int max_id (void);

Generated by  Doxygen 1.6.0   Back to index