mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
iconv, typo fixes, libtool versioning, added MySQL to gmdb2 export
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user