diff --git a/buildheader/sample_offsets.c b/buildheader/sample_offsets.c index 585f02f30eb..286c32e1842 100644 --- a/buildheader/sample_offsets.c +++ b/buildheader/sample_offsets.c @@ -81,6 +81,7 @@ void sample_db_env_offsets (void) { STRUCT_SETUP(DB_ENV, set_cachesize, "int (*%s) (DB_ENV *, u_int32_t, u_int32_t, int)"); STRUCT_SETUP(DB_ENV, set_data_dir, "int (*%s) (DB_ENV *, const char *)"); STRUCT_SETUP(DB_ENV, set_errcall, "void (*%s) (DB_ENV *, void (*)(const char *, char *))"); + STRUCT_SETUP(DB_ENV, set_errfile, "FILE*%s"); STRUCT_SETUP(DB_ENV, set_errpfx, "void (*%s) (DB_ENV *, const char *)"); STRUCT_SETUP(DB_ENV, set_flags, "int (*%s) (DB_ENV *, u_int32_t, int)"); STRUCT_SETUP(DB_ENV, set_lg_bsize, "int (*%s) (DB_ENV *, u_int32_t)"); diff --git a/buildheader/sample_offsets_32_4_1.h b/buildheader/sample_offsets_32_4_1.h index 6c9f859cc8a..fa01a68ef60 100644 --- a/buildheader/sample_offsets_32_4_1.h +++ b/buildheader/sample_offsets_32_4_1.h @@ -15,6 +15,7 @@ struct fieldinfo db_env_fields32[] = { {"int (*open) (DB_ENV *, const char *, u_int32_t, int)", 264, 4}, {"int (*set_data_dir) (DB_ENV *, const char *)", 272, 4}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 288, 4}, + {"FILE*set_errfile", 292, 4}, {"void (*set_errpfx) (DB_ENV *, const char *)", 296, 4}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 304, 4}, {"int (*set_tmp_dir) (DB_ENV *, const char *)", 324, 4}, diff --git a/buildheader/sample_offsets_32_4_3.h b/buildheader/sample_offsets_32_4_3.h index 98d225fdd43..4371e9bf7d6 100644 --- a/buildheader/sample_offsets_32_4_3.h +++ b/buildheader/sample_offsets_32_4_3.h @@ -15,6 +15,7 @@ struct fieldinfo db_env_fields32[] = { {"int (*open) (DB_ENV *, const char *, u_int32_t, int)", 296, 4}, {"int (*set_data_dir) (DB_ENV *, const char *)", 336, 4}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 348, 4}, + {"FILE*set_errfile", 356, 4}, {"void (*set_errpfx) (DB_ENV *, const char *)", 364, 4}, {"int (*get_flags) (DB_ENV *, u_int32_t *)", 372, 4}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 376, 4}, diff --git a/buildheader/sample_offsets_32_4_4.h b/buildheader/sample_offsets_32_4_4.h index b469fb67b12..6b4f3355c0a 100644 --- a/buildheader/sample_offsets_32_4_4.h +++ b/buildheader/sample_offsets_32_4_4.h @@ -20,6 +20,7 @@ struct fieldinfo db_env_fields32[] = { {"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 716, 4}, {"int (*set_data_dir) (DB_ENV *, const char *)", 720, 4}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 728, 4}, + {"FILE*set_errfile", 732, 4}, {"void (*set_errpfx) (DB_ENV *, const char *)", 736, 4}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 744, 4}, {"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 756, 4}, diff --git a/buildheader/sample_offsets_32_4_5.h b/buildheader/sample_offsets_32_4_5.h index 9ca59834440..63649f051f9 100644 --- a/buildheader/sample_offsets_32_4_5.h +++ b/buildheader/sample_offsets_32_4_5.h @@ -20,6 +20,7 @@ struct fieldinfo db_env_fields32[] = { {"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 776, 4}, {"int (*set_data_dir) (DB_ENV *, const char *)", 780, 4}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 788, 4}, + {"FILE*set_errfile", 792, 4}, {"void (*set_errpfx) (DB_ENV *, const char *)", 796, 4}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 808, 4}, {"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 820, 4}, diff --git a/buildheader/sample_offsets_32_4_6.h b/buildheader/sample_offsets_32_4_6.h index 461bbd4f564..a5a97c5c2f4 100644 --- a/buildheader/sample_offsets_32_4_6.h +++ b/buildheader/sample_offsets_32_4_6.h @@ -20,6 +20,7 @@ struct fieldinfo db_env_fields32[] = { {"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 816, 4}, {"int (*set_data_dir) (DB_ENV *, const char *)", 824, 4}, {"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 832, 4}, + {"FILE*set_errfile", 836, 4}, {"void (*set_errpfx) (DB_ENV *, const char *)", 840, 4}, {"int (*set_flags) (DB_ENV *, u_int32_t, int)", 852, 4}, {"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 864, 4},