mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-25 17:59:54 +08:00
change catalogentry to GPtrArray, documentation fixes, add ifdef wrapper to mdbsql.h
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user