mariadb/src/ydb.h
Rich Prohaska 4a37ee2e02 make setup_dlmalloc visible. addresses #1377
git-svn-id: file:///svn/toku/tokudb@9132 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:39 -04:00

22 lines
686 B
C

// This file defines the public interface to the ydb library
#if !defined(TOKU_YDB_INTERFACE_H)
#define TOKU_YDB_INTERFACE_H
// Initialize the ydb library globals.
// Called when the ydb library is loaded.
void toku_ydb_init(void);
// Called when the ydb library is unloaded.
void toku_ydb_destroy(void);
// Called to use dlmalloc functions.
void setup_dlmalloc(void) __attribute__((__visibility__("default")));
// db_env_create for the trace library
int db_env_create_toku10(DB_ENV **, u_int32_t) __attribute__((__visibility__("default")));
// db_create for the trace library
int db_create_toku10(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default")));
#endif