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

Add set_errfile to samples. Addresses #72.

git-svn-id: file:///svn/tokudb@1251 c7de825b-a66e-492c-adef-691d508d4ae1
parent 30dce3c6
...@@ -15,6 +15,7 @@ struct fieldinfo db_env_fields64[] = { ...@@ -15,6 +15,7 @@ struct fieldinfo db_env_fields64[] = {
{"int (*open) (DB_ENV *, const char *, u_int32_t, int)", 496, 8}, {"int (*open) (DB_ENV *, const char *, u_int32_t, int)", 496, 8},
{"int (*set_data_dir) (DB_ENV *, const char *)", 576, 8}, {"int (*set_data_dir) (DB_ENV *, const char *)", 576, 8},
{"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 600, 8}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 600, 8},
{"FILE*set_errfile", 616, 8},
{"void (*set_errpfx) (DB_ENV *, const char *)", 632, 8}, {"void (*set_errpfx) (DB_ENV *, const char *)", 632, 8},
{"int (*get_flags) (DB_ENV *, u_int32_t *)", 648, 8}, {"int (*get_flags) (DB_ENV *, u_int32_t *)", 648, 8},
{"int (*set_flags) (DB_ENV *, u_int32_t, int)", 656, 8}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 656, 8},
......
...@@ -20,6 +20,7 @@ struct fieldinfo db_env_fields64[] = { ...@@ -20,6 +20,7 @@ struct fieldinfo db_env_fields64[] = {
{"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 1304, 8}, {"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 1304, 8},
{"int (*set_data_dir) (DB_ENV *, const char *)", 1312, 8}, {"int (*set_data_dir) (DB_ENV *, const char *)", 1312, 8},
{"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 1328, 8}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 1328, 8},
{"FILE*set_errfile", 1336, 8},
{"void (*set_errpfx) (DB_ENV *, const char *)", 1344, 8}, {"void (*set_errpfx) (DB_ENV *, const char *)", 1344, 8},
{"int (*set_flags) (DB_ENV *, u_int32_t, int)", 1360, 8}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 1360, 8},
{"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 1384, 8}, {"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 1384, 8},
......
...@@ -20,6 +20,7 @@ struct fieldinfo db_env_fields64[] = { ...@@ -20,6 +20,7 @@ struct fieldinfo db_env_fields64[] = {
{"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 1424, 8}, {"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 1424, 8},
{"int (*set_data_dir) (DB_ENV *, const char *)", 1432, 8}, {"int (*set_data_dir) (DB_ENV *, const char *)", 1432, 8},
{"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 1448, 8}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 1448, 8},
{"FILE*set_errfile", 1456, 8},
{"void (*set_errpfx) (DB_ENV *, const char *)", 1464, 8}, {"void (*set_errpfx) (DB_ENV *, const char *)", 1464, 8},
{"int (*set_flags) (DB_ENV *, u_int32_t, int)", 1488, 8}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 1488, 8},
{"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 1512, 8}, {"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 1512, 8},
......
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