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

Up

git-svn-id: file:///svn/tokudb@427 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5acc0020
......@@ -205,6 +205,7 @@ struct __toku_dbt {
int db_env_create(DB_ENV **, u_int32_t);
int db_create(DB **, DB_ENV *, u_int32_t);
char *db_strerror(int);
int log_compare (const DB_LSN*, const DB_LSN *);
#if defined(__cplusplus)
}
#endif
......
......@@ -230,6 +230,7 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__un
printf("int db_env_create(DB_ENV **, u_int32_t);\n");
printf("int db_create(DB **, DB_ENV *, u_int32_t);\n");
printf("char *db_strerror(int);\n");
printf("int log_compare (const DB_LSN*, const DB_LSN *);\n");
printf("#if defined(__cplusplus)\n}\n#endif\n");
printf("#endif\n");
return 0;
......
......@@ -129,7 +129,7 @@ void sample_db_txn_offsets (void) {
field_counter=0;
STRUCT_SETUP(DB_TXN, commit, "int (*%s) (DB_TXN*, u_int32_t)");
STRUCT_SETUP(DB_TXN, id, "u_int32_t (*%s) (DB_TXN *)");
STRUCT_SETUP(DB_TXN, abort, "int (*%s) __P((DB_TXN *)");
STRUCT_SETUP(DB_TXN, abort, "int (*%s) (DB_TXN *)");
sort_and_dump_fields("db_txn", sizeof(DB_TXN));
}
......
......@@ -205,6 +205,7 @@ struct __toku_dbt {
int db_env_create(DB_ENV **, u_int32_t);
int db_create(DB **, DB_ENV *, u_int32_t);
char *db_strerror(int);
int log_compare (const DB_LSN*, const DB_LSN *);
#if defined(__cplusplus)
}
#endif
......
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