change catalogentry to GPtrArray, documentation fixes, add ifdef wrapper to mdbsql.h

This commit is contained in:
brianb
2002-03-27 13:00:00 +00:00
parent 16ecc4fe4d
commit 9b8285d937
24 changed files with 111 additions and 112 deletions

View File

@@ -3,6 +3,9 @@
#include <glib.h>
#include <mdbtools.h>
#ifndef _mdbsql_h_
#define _mdbsql_h_
typedef struct {
MdbHandle *mdb;
int all_columns;
@@ -55,3 +58,5 @@ void mdb_sql_exit(MdbSQL *sql);
void mdb_sql_reset(MdbSQL *sql);
void mdb_sql_listtables(MdbSQL *sql);
void mdb_sql_select(MdbSQL *sql);
#endif

View File

@@ -103,7 +103,7 @@ typedef struct {
unsigned char pg_buf[MDB_PGSIZE];
unsigned char alt_pg_buf[MDB_PGSIZE];
int num_catalog;
GArray *catalog;
GPtrArray *catalog;
int pg_size;
guint32 jet_version;
guint32 db_key;