iconv, typo fixes, libtool versioning, added MySQL to gmdb2 export

This commit is contained in:
brianb
2004-06-21 00:31:39 +00:00
parent 642a74c8c3
commit 620db14f4b
12 changed files with 118 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
lib_LTLIBRARIES = libmdb.la
libmdb_la_SOURCES= catalog.c mem.c file.c kkd.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c options.c iconv.c
libmdb_la_LDFLAGS = -version-info 1:0:0
AM_CPPFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LIBS = $(GLIB_LIBS) -lm

View File

@@ -54,6 +54,17 @@ MdbFormatConstants MdbJet3Constants = {
static size_t _mdb_read_pg(MdbHandle *mdb, unsigned char *pg_buf, unsigned long pg);
/**
* mdb_find_file:
* @filename: path to MDB (database) file
*
* Finds and returns the absolute path to an MDB file. Function will first try
* to fstat file as passed, then search through the $MDBPATH if not found.
*
* Return value: gchar pointer to absolute path. Caller is responsible for
* freeing.
**/
static gchar *mdb_find_file(char *file_name)
{
struct stat status;