Commit b2c1ad2c authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Add {{{db_env_set_func_fsync}}}. Addresses #499.

git-svn-id: file:///svn/tokudb@2650 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6af91264
......@@ -259,6 +259,7 @@ int db_create(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default
char *db_strerror(int) __attribute__((__visibility__("default")));
const char *db_version(int*,int *,int *) __attribute__((__visibility__("default")));
int log_compare (const DB_LSN*, const DB_LSN *) __attribute__((__visibility__("default")));
int db_env_set_func_fsync (int (*)(int)) __attribute__((__visibility__("default")));
#if defined(__cplusplus)
}
#endif
......
......@@ -275,6 +275,7 @@ int db_create(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default
char *db_strerror(int) __attribute__((__visibility__("default")));
const char *db_version(int*,int *,int *) __attribute__((__visibility__("default")));
int log_compare (const DB_LSN*, const DB_LSN *) __attribute__((__visibility__("default")));
int db_env_set_func_fsync (int (*)(int)) __attribute__((__visibility__("default")));
#if defined(__cplusplus)
}
#endif
......
......@@ -279,6 +279,7 @@ int db_create(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default
char *db_strerror(int) __attribute__((__visibility__("default")));
const char *db_version(int*,int *,int *) __attribute__((__visibility__("default")));
int log_compare (const DB_LSN*, const DB_LSN *) __attribute__((__visibility__("default")));
int db_env_set_func_fsync (int (*)(int)) __attribute__((__visibility__("default")));
#if defined(__cplusplus)
}
#endif
......
......@@ -279,6 +279,7 @@ int db_create(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default
char *db_strerror(int) __attribute__((__visibility__("default")));
const char *db_version(int*,int *,int *) __attribute__((__visibility__("default")));
int log_compare (const DB_LSN*, const DB_LSN *) __attribute__((__visibility__("default")));
int db_env_set_func_fsync (int (*)(int)) __attribute__((__visibility__("default")));
#if defined(__cplusplus)
}
#endif
......
......@@ -284,6 +284,7 @@ int db_create(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default
char *db_strerror(int) __attribute__((__visibility__("default")));
const char *db_version(int*,int *,int *) __attribute__((__visibility__("default")));
int log_compare (const DB_LSN*, const DB_LSN *) __attribute__((__visibility__("default")));
int db_env_set_func_fsync (int (*)(int)) __attribute__((__visibility__("default")));
#if defined(__cplusplus)
}
#endif
......
......@@ -303,6 +303,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__un
printf("char *db_strerror(int) %s;\n", VISIBLE);
printf("const char *db_version(int*,int *,int *) %s;\n", VISIBLE);
printf("int log_compare (const DB_LSN*, const DB_LSN *) %s;\n", VISIBLE);
printf("int db_env_set_func_fsync (int (*)(int)) %s;\n", VISIBLE);
printf("#if defined(__cplusplus)\n}\n#endif\n");
printf("#endif\n");
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment