Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include
File: db.h
int (*lock_id) __P((DB_ENV *, u_int32_t *));
[2500] Fix | Delete
int (*lock_id_free) __P((DB_ENV *, u_int32_t));
[2501] Fix | Delete
int (*lock_put) __P((DB_ENV *, DB_LOCK *));
[2502] Fix | Delete
int (*lock_stat) __P((DB_ENV *, DB_LOCK_STAT **, u_int32_t));
[2503] Fix | Delete
int (*lock_stat_print) __P((DB_ENV *, u_int32_t));
[2504] Fix | Delete
int (*lock_vec) __P((DB_ENV *,
[2505] Fix | Delete
u_int32_t, u_int32_t, DB_LOCKREQ *, int, DB_LOCKREQ **));
[2506] Fix | Delete
int (*log_archive) __P((DB_ENV *, char **[], u_int32_t));
[2507] Fix | Delete
int (*log_cursor) __P((DB_ENV *, DB_LOGC **, u_int32_t));
[2508] Fix | Delete
int (*log_file) __P((DB_ENV *, const DB_LSN *, char *, size_t));
[2509] Fix | Delete
int (*log_flush) __P((DB_ENV *, const DB_LSN *));
[2510] Fix | Delete
int (*log_get_config) __P((DB_ENV *, u_int32_t, int *));
[2511] Fix | Delete
int (*log_printf) __P((DB_ENV *, DB_TXN *, const char *, ...));
[2512] Fix | Delete
int (*log_put) __P((DB_ENV *, DB_LSN *, const DBT *, u_int32_t));
[2513] Fix | Delete
int (*log_put_record) __P((DB_ENV *, DB *, DB_TXN *, DB_LSN *,
[2514] Fix | Delete
u_int32_t, u_int32_t, u_int32_t, u_int32_t,
[2515] Fix | Delete
DB_LOG_RECSPEC *, ...));
[2516] Fix | Delete
int (*log_read_record) __P((DB_ENV *, DB **,
[2517] Fix | Delete
void *, void *, DB_LOG_RECSPEC *, u_int32_t, void **));
[2518] Fix | Delete
int (*log_set_config) __P((DB_ENV *, u_int32_t, int));
[2519] Fix | Delete
int (*log_stat) __P((DB_ENV *, DB_LOG_STAT **, u_int32_t));
[2520] Fix | Delete
int (*log_stat_print) __P((DB_ENV *, u_int32_t));
[2521] Fix | Delete
int (*log_verify) __P((DB_ENV *, const DB_LOG_VERIFY_CONFIG *));
[2522] Fix | Delete
int (*lsn_reset) __P((DB_ENV *, const char *, u_int32_t));
[2523] Fix | Delete
int (*memp_fcreate) __P((DB_ENV *, DB_MPOOLFILE **, u_int32_t));
[2524] Fix | Delete
int (*memp_register) __P((DB_ENV *, int, int (*)(DB_ENV *, db_pgno_t,
[2525] Fix | Delete
void *, DBT *), int (*)(DB_ENV *, db_pgno_t, void *, DBT *)));
[2526] Fix | Delete
int (*memp_stat) __P((DB_ENV *,
[2527] Fix | Delete
DB_MPOOL_STAT **, DB_MPOOL_FSTAT ***, u_int32_t));
[2528] Fix | Delete
int (*memp_stat_print) __P((DB_ENV *, u_int32_t));
[2529] Fix | Delete
int (*memp_sync) __P((DB_ENV *, DB_LSN *));
[2530] Fix | Delete
int (*memp_trickle) __P((DB_ENV *, int, int *));
[2531] Fix | Delete
int (*mutex_alloc) __P((DB_ENV *, u_int32_t, db_mutex_t *));
[2532] Fix | Delete
int (*mutex_free) __P((DB_ENV *, db_mutex_t));
[2533] Fix | Delete
int (*mutex_get_align) __P((DB_ENV *, u_int32_t *));
[2534] Fix | Delete
int (*mutex_get_increment) __P((DB_ENV *, u_int32_t *));
[2535] Fix | Delete
int (*mutex_get_init) __P((DB_ENV *, u_int32_t *));
[2536] Fix | Delete
int (*mutex_get_max) __P((DB_ENV *, u_int32_t *));
[2537] Fix | Delete
int (*mutex_get_tas_spins) __P((DB_ENV *, u_int32_t *));
[2538] Fix | Delete
int (*mutex_lock) __P((DB_ENV *, db_mutex_t));
[2539] Fix | Delete
int (*mutex_set_align) __P((DB_ENV *, u_int32_t));
[2540] Fix | Delete
int (*mutex_set_increment) __P((DB_ENV *, u_int32_t));
[2541] Fix | Delete
int (*mutex_set_init) __P((DB_ENV *, u_int32_t));
[2542] Fix | Delete
int (*mutex_set_max) __P((DB_ENV *, u_int32_t));
[2543] Fix | Delete
int (*mutex_set_tas_spins) __P((DB_ENV *, u_int32_t));
[2544] Fix | Delete
int (*mutex_stat) __P((DB_ENV *, DB_MUTEX_STAT **, u_int32_t));
[2545] Fix | Delete
int (*mutex_stat_print) __P((DB_ENV *, u_int32_t));
[2546] Fix | Delete
int (*mutex_unlock) __P((DB_ENV *, db_mutex_t));
[2547] Fix | Delete
int (*open) __P((DB_ENV *, const char *, u_int32_t, int));
[2548] Fix | Delete
int (*remove) __P((DB_ENV *, const char *, u_int32_t));
[2549] Fix | Delete
int (*rep_elect) __P((DB_ENV *, u_int32_t, u_int32_t, u_int32_t));
[2550] Fix | Delete
int (*rep_flush) __P((DB_ENV *));
[2551] Fix | Delete
int (*rep_get_clockskew) __P((DB_ENV *, u_int32_t *, u_int32_t *));
[2552] Fix | Delete
int (*rep_get_config) __P((DB_ENV *, u_int32_t, int *));
[2553] Fix | Delete
int (*rep_get_limit) __P((DB_ENV *, u_int32_t *, u_int32_t *));
[2554] Fix | Delete
int (*rep_get_nsites) __P((DB_ENV *, u_int32_t *));
[2555] Fix | Delete
int (*rep_get_priority) __P((DB_ENV *, u_int32_t *));
[2556] Fix | Delete
int (*rep_get_request) __P((DB_ENV *, u_int32_t *, u_int32_t *));
[2557] Fix | Delete
int (*rep_get_timeout) __P((DB_ENV *, int, u_int32_t *));
[2558] Fix | Delete
int (*rep_process_message)
[2559] Fix | Delete
__P((DB_ENV *, DBT *, DBT *, int, DB_LSN *));
[2560] Fix | Delete
int (*rep_set_clockskew) __P((DB_ENV *, u_int32_t, u_int32_t));
[2561] Fix | Delete
int (*rep_set_config) __P((DB_ENV *, u_int32_t, int));
[2562] Fix | Delete
int (*rep_set_limit) __P((DB_ENV *, u_int32_t, u_int32_t));
[2563] Fix | Delete
int (*rep_set_nsites) __P((DB_ENV *, u_int32_t));
[2564] Fix | Delete
int (*rep_set_priority) __P((DB_ENV *, u_int32_t));
[2565] Fix | Delete
int (*rep_set_request) __P((DB_ENV *, u_int32_t, u_int32_t));
[2566] Fix | Delete
int (*rep_set_timeout) __P((DB_ENV *, int, db_timeout_t));
[2567] Fix | Delete
int (*rep_set_transport) __P((DB_ENV *, int, int (*)(DB_ENV *,
[2568] Fix | Delete
const DBT *, const DBT *, const DB_LSN *, int, u_int32_t)));
[2569] Fix | Delete
int (*rep_start) __P((DB_ENV *, DBT *, u_int32_t));
[2570] Fix | Delete
int (*rep_stat) __P((DB_ENV *, DB_REP_STAT **, u_int32_t));
[2571] Fix | Delete
int (*rep_stat_print) __P((DB_ENV *, u_int32_t));
[2572] Fix | Delete
int (*rep_sync) __P((DB_ENV *, u_int32_t));
[2573] Fix | Delete
int (*repmgr_channel) __P((DB_ENV *, int, DB_CHANNEL **, u_int32_t));
[2574] Fix | Delete
int (*repmgr_get_ack_policy) __P((DB_ENV *, int *));
[2575] Fix | Delete
int (*repmgr_local_site) __P((DB_ENV *, DB_SITE **));
[2576] Fix | Delete
int (*repmgr_msg_dispatch) __P((DB_ENV *,
[2577] Fix | Delete
void (*)(DB_ENV *, DB_CHANNEL *, DBT *, u_int32_t, u_int32_t),
[2578] Fix | Delete
u_int32_t));
[2579] Fix | Delete
int (*repmgr_set_ack_policy) __P((DB_ENV *, int));
[2580] Fix | Delete
int (*repmgr_site)
[2581] Fix | Delete
__P((DB_ENV *, const char *, u_int, DB_SITE**, u_int32_t));
[2582] Fix | Delete
int (*repmgr_site_by_eid) __P((DB_ENV *, int, DB_SITE**));
[2583] Fix | Delete
int (*repmgr_site_list) __P((DB_ENV *, u_int *, DB_REPMGR_SITE **));
[2584] Fix | Delete
int (*repmgr_start) __P((DB_ENV *, int, u_int32_t));
[2585] Fix | Delete
int (*repmgr_stat) __P((DB_ENV *, DB_REPMGR_STAT **, u_int32_t));
[2586] Fix | Delete
int (*repmgr_stat_print) __P((DB_ENV *, u_int32_t));
[2587] Fix | Delete
int (*set_alloc) __P((DB_ENV *, void *(*)(size_t),
[2588] Fix | Delete
void *(*)(void *, size_t), void (*)(void *)));
[2589] Fix | Delete
int (*set_app_dispatch)
[2590] Fix | Delete
__P((DB_ENV *, int (*)(DB_ENV *, DBT *, DB_LSN *, db_recops)));
[2591] Fix | Delete
int (*set_cache_max) __P((DB_ENV *, u_int32_t, u_int32_t));
[2592] Fix | Delete
int (*set_cachesize) __P((DB_ENV *, u_int32_t, u_int32_t, int));
[2593] Fix | Delete
int (*set_create_dir) __P((DB_ENV *, const char *));
[2594] Fix | Delete
int (*set_data_dir) __P((DB_ENV *, const char *));
[2595] Fix | Delete
int (*set_data_len) __P((DB_ENV *, u_int32_t));
[2596] Fix | Delete
int (*set_backup_callbacks) __P((DB_ENV *,
[2597] Fix | Delete
int (*)(DB_ENV *, const char *, const char *, void **),
[2598] Fix | Delete
int (*)(DB_ENV *, u_int32_t,
[2599] Fix | Delete
u_int32_t, u_int32_t, u_int8_t *, void *),
[2600] Fix | Delete
int (*)(DB_ENV *, const char *, void *)));
[2601] Fix | Delete
int (*set_backup_config) __P((DB_ENV *, DB_BACKUP_CONFIG, u_int32_t));
[2602] Fix | Delete
int (*set_encrypt) __P((DB_ENV *, const char *, u_int32_t));
[2603] Fix | Delete
void (*set_errcall) __P((DB_ENV *,
[2604] Fix | Delete
void (*)(const DB_ENV *, const char *, const char *)));
[2605] Fix | Delete
void (*set_errfile) __P((DB_ENV *, FILE *));
[2606] Fix | Delete
void (*set_errpfx) __P((DB_ENV *, const char *));
[2607] Fix | Delete
int (*set_event_notify)
[2608] Fix | Delete
__P((DB_ENV *, void (*)(DB_ENV *, u_int32_t, void *)));
[2609] Fix | Delete
int (*set_feedback) __P((DB_ENV *, void (*)(DB_ENV *, int, int)));
[2610] Fix | Delete
int (*set_flags) __P((DB_ENV *, u_int32_t, int));
[2611] Fix | Delete
int (*set_intermediate_dir_mode) __P((DB_ENV *, const char *));
[2612] Fix | Delete
int (*set_isalive) __P((DB_ENV *,
[2613] Fix | Delete
int (*)(DB_ENV *, pid_t, db_threadid_t, u_int32_t)));
[2614] Fix | Delete
int (*set_lg_bsize) __P((DB_ENV *, u_int32_t));
[2615] Fix | Delete
int (*set_lg_dir) __P((DB_ENV *, const char *));
[2616] Fix | Delete
int (*set_lg_filemode) __P((DB_ENV *, int));
[2617] Fix | Delete
int (*set_lg_max) __P((DB_ENV *, u_int32_t));
[2618] Fix | Delete
int (*set_lg_regionmax) __P((DB_ENV *, u_int32_t));
[2619] Fix | Delete
int (*set_lk_conflicts) __P((DB_ENV *, u_int8_t *, int));
[2620] Fix | Delete
int (*set_lk_detect) __P((DB_ENV *, u_int32_t));
[2621] Fix | Delete
int (*set_lk_max_lockers) __P((DB_ENV *, u_int32_t));
[2622] Fix | Delete
int (*set_lk_max_locks) __P((DB_ENV *, u_int32_t));
[2623] Fix | Delete
int (*set_lk_max_objects) __P((DB_ENV *, u_int32_t));
[2624] Fix | Delete
int (*set_lk_partitions) __P((DB_ENV *, u_int32_t));
[2625] Fix | Delete
int (*set_lk_priority) __P((DB_ENV *, u_int32_t, u_int32_t));
[2626] Fix | Delete
int (*set_lk_tablesize) __P((DB_ENV *, u_int32_t));
[2627] Fix | Delete
int (*set_memory_init) __P((DB_ENV *, DB_MEM_CONFIG, u_int32_t));
[2628] Fix | Delete
int (*set_memory_max) __P((DB_ENV *, u_int32_t, u_int32_t));
[2629] Fix | Delete
int (*set_metadata_dir) __P((DB_ENV *, const char *));
[2630] Fix | Delete
int (*set_mp_max_openfd) __P((DB_ENV *, int));
[2631] Fix | Delete
int (*set_mp_max_write) __P((DB_ENV *, int, db_timeout_t));
[2632] Fix | Delete
int (*set_mp_mmapsize) __P((DB_ENV *, size_t));
[2633] Fix | Delete
int (*set_mp_mtxcount) __P((DB_ENV *, u_int32_t));
[2634] Fix | Delete
int (*set_mp_pagesize) __P((DB_ENV *, u_int32_t));
[2635] Fix | Delete
int (*set_mp_tablesize) __P((DB_ENV *, u_int32_t));
[2636] Fix | Delete
void (*set_msgcall)
[2637] Fix | Delete
__P((DB_ENV *, void (*)(const DB_ENV *, const char *)));
[2638] Fix | Delete
void (*set_msgfile) __P((DB_ENV *, FILE *));
[2639] Fix | Delete
int (*set_paniccall) __P((DB_ENV *, void (*)(DB_ENV *, int)));
[2640] Fix | Delete
int (*set_shm_key) __P((DB_ENV *, long));
[2641] Fix | Delete
int (*set_thread_count) __P((DB_ENV *, u_int32_t));
[2642] Fix | Delete
int (*set_thread_id)
[2643] Fix | Delete
__P((DB_ENV *, void (*)(DB_ENV *, pid_t *, db_threadid_t *)));
[2644] Fix | Delete
int (*set_thread_id_string) __P((DB_ENV *,
[2645] Fix | Delete
char *(*)(DB_ENV *, pid_t, db_threadid_t, char *)));
[2646] Fix | Delete
int (*set_timeout) __P((DB_ENV *, db_timeout_t, u_int32_t));
[2647] Fix | Delete
int (*set_tmp_dir) __P((DB_ENV *, const char *));
[2648] Fix | Delete
int (*set_tx_max) __P((DB_ENV *, u_int32_t));
[2649] Fix | Delete
int (*set_tx_timestamp) __P((DB_ENV *, time_t *));
[2650] Fix | Delete
int (*set_verbose) __P((DB_ENV *, u_int32_t, int));
[2651] Fix | Delete
int (*txn_applied) __P((DB_ENV *,
[2652] Fix | Delete
DB_TXN_TOKEN *, db_timeout_t, u_int32_t));
[2653] Fix | Delete
int (*stat_print) __P((DB_ENV *, u_int32_t));
[2654] Fix | Delete
int (*txn_begin) __P((DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t));
[2655] Fix | Delete
int (*txn_checkpoint) __P((DB_ENV *, u_int32_t, u_int32_t, u_int32_t));
[2656] Fix | Delete
int (*txn_recover) __P((DB_ENV *,
[2657] Fix | Delete
DB_PREPLIST *, long, long *, u_int32_t));
[2658] Fix | Delete
int (*txn_stat) __P((DB_ENV *, DB_TXN_STAT **, u_int32_t));
[2659] Fix | Delete
int (*txn_stat_print) __P((DB_ENV *, u_int32_t));
[2660] Fix | Delete
/* DB_ENV PUBLIC HANDLE LIST END */
[2661] Fix | Delete
[2662] Fix | Delete
/* DB_ENV PRIVATE HANDLE LIST BEGIN */
[2663] Fix | Delete
int (*prdbt) __P((DBT *, int,
[2664] Fix | Delete
const char *, void *, int (*)(void *, const void *), int, int));
[2665] Fix | Delete
/* DB_ENV PRIVATE HANDLE LIST END */
[2666] Fix | Delete
};
[2667] Fix | Delete
[2668] Fix | Delete
/*
[2669] Fix | Delete
* Dispatch structure for recovery, log verification and print routines. Since
[2670] Fix | Delete
* internal and external routines take different arguments (ENV versus DB_ENV),
[2671] Fix | Delete
* we need something more elaborate than a single pointer and size.
[2672] Fix | Delete
*/
[2673] Fix | Delete
struct __db_distab {
[2674] Fix | Delete
int (**int_dispatch) __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
[2675] Fix | Delete
size_t int_size;
[2676] Fix | Delete
int (**ext_dispatch) __P((DB_ENV *, DBT *, DB_LSN *, db_recops));
[2677] Fix | Delete
size_t ext_size;
[2678] Fix | Delete
};
[2679] Fix | Delete
[2680] Fix | Delete
/*
[2681] Fix | Delete
* Log verification configuration structure.
[2682] Fix | Delete
*/
[2683] Fix | Delete
struct __db_logvrfy_config {
[2684] Fix | Delete
int continue_after_fail, verbose;
[2685] Fix | Delete
u_int32_t cachesize;
[2686] Fix | Delete
const char *temp_envhome;
[2687] Fix | Delete
const char *dbfile, *dbname;
[2688] Fix | Delete
DB_LSN start_lsn, end_lsn;
[2689] Fix | Delete
time_t start_time, end_time;
[2690] Fix | Delete
};
[2691] Fix | Delete
[2692] Fix | Delete
struct __db_channel {
[2693] Fix | Delete
CHANNEL *channel; /* Pointer to internal state details. */
[2694] Fix | Delete
int eid; /* Env. ID passed in constructor. */
[2695] Fix | Delete
db_timeout_t timeout;
[2696] Fix | Delete
[2697] Fix | Delete
/* DB_CHANNEL PUBLIC HANDLE LIST BEGIN */
[2698] Fix | Delete
int (*close) __P((DB_CHANNEL *, u_int32_t));
[2699] Fix | Delete
int (*send_msg) __P((DB_CHANNEL *, DBT *, u_int32_t, u_int32_t));
[2700] Fix | Delete
int (*send_request) __P((DB_CHANNEL *,
[2701] Fix | Delete
DBT *, u_int32_t, DBT *, db_timeout_t, u_int32_t));
[2702] Fix | Delete
int (*set_timeout) __P((DB_CHANNEL *, db_timeout_t));
[2703] Fix | Delete
/* DB_CHANNEL PUBLIC HANDLE LIST END */
[2704] Fix | Delete
};
[2705] Fix | Delete
[2706] Fix | Delete
struct __db_site {
[2707] Fix | Delete
ENV *env;
[2708] Fix | Delete
int eid;
[2709] Fix | Delete
const char *host;
[2710] Fix | Delete
u_int port;
[2711] Fix | Delete
u_int32_t flags;
[2712] Fix | Delete
[2713] Fix | Delete
/* DB_SITE PUBLIC HANDLE LIST BEGIN */
[2714] Fix | Delete
int (*get_address) __P((DB_SITE *, const char **, u_int *));
[2715] Fix | Delete
int (*get_config) __P((DB_SITE *, u_int32_t, u_int32_t *));
[2716] Fix | Delete
int (*get_eid) __P((DB_SITE *, int *));
[2717] Fix | Delete
int (*set_config) __P((DB_SITE *, u_int32_t, u_int32_t));
[2718] Fix | Delete
int (*remove) __P((DB_SITE *));
[2719] Fix | Delete
int (*close) __P((DB_SITE *));
[2720] Fix | Delete
/* DB_SITE PUBLIC HANDLE LIST END */
[2721] Fix | Delete
};
[2722] Fix | Delete
[2723] Fix | Delete
#if DB_DBM_HSEARCH != 0
[2724] Fix | Delete
/*******************************************************
[2725] Fix | Delete
* Dbm/Ndbm historic interfaces.
[2726] Fix | Delete
*******************************************************/
[2727] Fix | Delete
typedef struct __db DBM;
[2728] Fix | Delete
[2729] Fix | Delete
#define DBM_INSERT 0 /* Flags to dbm_store(). */
[2730] Fix | Delete
#define DBM_REPLACE 1
[2731] Fix | Delete
[2732] Fix | Delete
/*
[2733] Fix | Delete
* The DB support for ndbm(3) always appends this suffix to the
[2734] Fix | Delete
* file name to avoid overwriting the user's original database.
[2735] Fix | Delete
*/
[2736] Fix | Delete
#define DBM_SUFFIX ".db"
[2737] Fix | Delete
[2738] Fix | Delete
#if defined(_XPG4_2)
[2739] Fix | Delete
typedef struct {
[2740] Fix | Delete
char *dptr;
[2741] Fix | Delete
size_t dsize;
[2742] Fix | Delete
} datum;
[2743] Fix | Delete
#else
[2744] Fix | Delete
typedef struct {
[2745] Fix | Delete
char *dptr;
[2746] Fix | Delete
int dsize;
[2747] Fix | Delete
} datum;
[2748] Fix | Delete
#endif
[2749] Fix | Delete
[2750] Fix | Delete
/*
[2751] Fix | Delete
* Translate NDBM calls into DB calls so that DB doesn't step on the
[2752] Fix | Delete
* application's name space.
[2753] Fix | Delete
*/
[2754] Fix | Delete
#define dbm_clearerr(a) __db_ndbm_clearerr(a)
[2755] Fix | Delete
#define dbm_close(a) __db_ndbm_close(a)
[2756] Fix | Delete
#define dbm_delete(a, b) __db_ndbm_delete(a, b)
[2757] Fix | Delete
#define dbm_dirfno(a) __db_ndbm_dirfno(a)
[2758] Fix | Delete
#define dbm_error(a) __db_ndbm_error(a)
[2759] Fix | Delete
#define dbm_fetch(a, b) __db_ndbm_fetch(a, b)
[2760] Fix | Delete
#define dbm_firstkey(a) __db_ndbm_firstkey(a)
[2761] Fix | Delete
#define dbm_nextkey(a) __db_ndbm_nextkey(a)
[2762] Fix | Delete
#define dbm_open(a, b, c) __db_ndbm_open(a, b, c)
[2763] Fix | Delete
#define dbm_pagfno(a) __db_ndbm_pagfno(a)
[2764] Fix | Delete
#define dbm_rdonly(a) __db_ndbm_rdonly(a)
[2765] Fix | Delete
#define dbm_store(a, b, c, d) \
[2766] Fix | Delete
__db_ndbm_store(a, b, c, d)
[2767] Fix | Delete
[2768] Fix | Delete
/*
[2769] Fix | Delete
* Translate DBM calls into DB calls so that DB doesn't step on the
[2770] Fix | Delete
* application's name space.
[2771] Fix | Delete
*
[2772] Fix | Delete
* The global variables dbrdonly, dirf and pagf were not retained when 4BSD
[2773] Fix | Delete
* replaced the dbm interface with ndbm, and are not supported here.
[2774] Fix | Delete
*/
[2775] Fix | Delete
#define dbminit(a) __db_dbm_init(a)
[2776] Fix | Delete
#define dbmclose __db_dbm_close
[2777] Fix | Delete
#if !defined(__cplusplus)
[2778] Fix | Delete
#define delete(a) __db_dbm_delete(a)
[2779] Fix | Delete
#endif
[2780] Fix | Delete
#define fetch(a) __db_dbm_fetch(a)
[2781] Fix | Delete
#define firstkey __db_dbm_firstkey
[2782] Fix | Delete
#define nextkey(a) __db_dbm_nextkey(a)
[2783] Fix | Delete
#define store(a, b) __db_dbm_store(a, b)
[2784] Fix | Delete
[2785] Fix | Delete
/*******************************************************
[2786] Fix | Delete
* Hsearch historic interface.
[2787] Fix | Delete
*******************************************************/
[2788] Fix | Delete
typedef enum {
[2789] Fix | Delete
FIND, ENTER
[2790] Fix | Delete
} ACTION;
[2791] Fix | Delete
[2792] Fix | Delete
typedef struct entry {
[2793] Fix | Delete
char *key;
[2794] Fix | Delete
char *data;
[2795] Fix | Delete
} ENTRY;
[2796] Fix | Delete
[2797] Fix | Delete
#define hcreate(a) __db_hcreate(a)
[2798] Fix | Delete
#define hdestroy __db_hdestroy
[2799] Fix | Delete
#define hsearch(a, b) __db_hsearch(a, b)
[2800] Fix | Delete
[2801] Fix | Delete
#endif /* DB_DBM_HSEARCH */
[2802] Fix | Delete
[2803] Fix | Delete
#if defined(__cplusplus)
[2804] Fix | Delete
}
[2805] Fix | Delete
#endif
[2806] Fix | Delete
[2807] Fix | Delete
[2808] Fix | Delete
#endif /* !_DB_H_ */
[2809] Fix | Delete
/* DO NOT EDIT: automatically built by dist/s_apiflags. */
[2810] Fix | Delete
#define DB_AGGRESSIVE 0x00000001
[2811] Fix | Delete
#define DB_ARCH_ABS 0x00000001
[2812] Fix | Delete
#define DB_ARCH_DATA 0x00000002
[2813] Fix | Delete
#define DB_ARCH_LOG 0x00000004
[2814] Fix | Delete
#define DB_ARCH_REMOVE 0x00000008
[2815] Fix | Delete
#define DB_AUTO_COMMIT 0x00000100
[2816] Fix | Delete
#define DB_BACKUP_CLEAN 0x00000002
[2817] Fix | Delete
#define DB_BACKUP_FILES 0x00000008
[2818] Fix | Delete
#define DB_BACKUP_NO_LOGS 0x00000010
[2819] Fix | Delete
#define DB_BACKUP_SINGLE_DIR 0x00000020
[2820] Fix | Delete
#define DB_BACKUP_UPDATE 0x00000040
[2821] Fix | Delete
#define DB_BOOTSTRAP_HELPER 0x00000001
[2822] Fix | Delete
#define DB_CDB_ALLDB 0x00000040
[2823] Fix | Delete
#define DB_CHKSUM 0x00000008
[2824] Fix | Delete
#define DB_CKP_INTERNAL 0x00000002
[2825] Fix | Delete
#define DB_CREATE 0x00000001
[2826] Fix | Delete
#define DB_CURSOR_BULK 0x00000001
[2827] Fix | Delete
#define DB_CURSOR_TRANSIENT 0x00000008
[2828] Fix | Delete
#define DB_CXX_NO_EXCEPTIONS 0x00000002
[2829] Fix | Delete
#define DB_DATABASE_LOCKING 0x00000080
[2830] Fix | Delete
#define DB_DIRECT 0x00000020
[2831] Fix | Delete
#define DB_DIRECT_DB 0x00000200
[2832] Fix | Delete
#define DB_DSYNC_DB 0x00000400
[2833] Fix | Delete
#define DB_DUP 0x00000010
[2834] Fix | Delete
#define DB_DUPSORT 0x00000002
[2835] Fix | Delete
#define DB_DURABLE_UNKNOWN 0x00000040
[2836] Fix | Delete
#define DB_ENCRYPT 0x00000001
[2837] Fix | Delete
#define DB_ENCRYPT_AES 0x00000001
[2838] Fix | Delete
#define DB_EXCL 0x00000004
[2839] Fix | Delete
#define DB_EXTENT 0x00000100
[2840] Fix | Delete
#define DB_FAILCHK 0x00000010
[2841] Fix | Delete
#define DB_FAILCHK_ISALIVE 0x00000040
[2842] Fix | Delete
#define DB_FAST_STAT 0x00000001
[2843] Fix | Delete
#define DB_FCNTL_LOCKING 0x00000800
[2844] Fix | Delete
#define DB_FLUSH 0x00000002
[2845] Fix | Delete
#define DB_FORCE 0x00000001
[2846] Fix | Delete
#define DB_FORCESYNC 0x00000001
[2847] Fix | Delete
#define DB_FOREIGN_ABORT 0x00000001
[2848] Fix | Delete
#define DB_FOREIGN_CASCADE 0x00000002
[2849] Fix | Delete
#define DB_FOREIGN_NULLIFY 0x00000004
[2850] Fix | Delete
#define DB_FREELIST_ONLY 0x00000001
[2851] Fix | Delete
#define DB_FREE_SPACE 0x00000002
[2852] Fix | Delete
#define DB_GROUP_CREATOR 0x00000002
[2853] Fix | Delete
#define DB_HOTBACKUP_IN_PROGRESS 0x00000800
[2854] Fix | Delete
#define DB_IGNORE_LEASE 0x00001000
[2855] Fix | Delete
#define DB_IMMUTABLE_KEY 0x00000002
[2856] Fix | Delete
#define DB_INIT_CDB 0x00000080
[2857] Fix | Delete
#define DB_INIT_LOCK 0x00000100
[2858] Fix | Delete
#define DB_INIT_LOG 0x00000200
[2859] Fix | Delete
#define DB_INIT_MPOOL 0x00000400
[2860] Fix | Delete
#define DB_INIT_MUTEX 0x00000800
[2861] Fix | Delete
#define DB_INIT_REP 0x00001000
[2862] Fix | Delete
#define DB_INIT_TXN 0x00002000
[2863] Fix | Delete
#define DB_INORDER 0x00000020
[2864] Fix | Delete
#define DB_INTERNAL_PERSISTENT_DB 0x00001000
[2865] Fix | Delete
#define DB_INTERNAL_TEMPORARY_DB 0x00002000
[2866] Fix | Delete
#define DB_JOIN_NOSORT 0x00000001
[2867] Fix | Delete
#define DB_LEGACY 0x00000004
[2868] Fix | Delete
#define DB_LOCAL_SITE 0x00000008
[2869] Fix | Delete
#define DB_LOCKDOWN 0x00004000
[2870] Fix | Delete
#define DB_LOCK_CHECK 0x00000001
[2871] Fix | Delete
#define DB_LOCK_IGNORE_REC 0x00000002
[2872] Fix | Delete
#define DB_LOCK_NOWAIT 0x00000004
[2873] Fix | Delete
#define DB_LOCK_RECORD 0x00000008
[2874] Fix | Delete
#define DB_LOCK_SET_TIMEOUT 0x00000010
[2875] Fix | Delete
#define DB_LOCK_SWITCH 0x00000020
[2876] Fix | Delete
#define DB_LOCK_UPGRADE 0x00000040
[2877] Fix | Delete
#define DB_LOG_AUTO_REMOVE 0x00000001
[2878] Fix | Delete
#define DB_LOG_CHKPNT 0x00000001
[2879] Fix | Delete
#define DB_LOG_COMMIT 0x00000004
[2880] Fix | Delete
#define DB_LOG_DIRECT 0x00000002
[2881] Fix | Delete
#define DB_LOG_DSYNC 0x00000004
[2882] Fix | Delete
#define DB_LOG_IN_MEMORY 0x00000008
[2883] Fix | Delete
#define DB_LOG_NOCOPY 0x00000008
[2884] Fix | Delete
#define DB_LOG_NOT_DURABLE 0x00000010
[2885] Fix | Delete
#define DB_LOG_NO_DATA 0x00000002
[2886] Fix | Delete
#define DB_LOG_VERIFY_CAF 0x00000001
[2887] Fix | Delete
#define DB_LOG_VERIFY_DBFILE 0x00000002
[2888] Fix | Delete
#define DB_LOG_VERIFY_ERR 0x00000004
[2889] Fix | Delete
#define DB_LOG_VERIFY_FORWARD 0x00000008
[2890] Fix | Delete
#define DB_LOG_VERIFY_INTERR 0x00000010
[2891] Fix | Delete
#define DB_LOG_VERIFY_PARTIAL 0x00000020
[2892] Fix | Delete
#define DB_LOG_VERIFY_VERBOSE 0x00000040
[2893] Fix | Delete
#define DB_LOG_VERIFY_WARNING 0x00000080
[2894] Fix | Delete
#define DB_LOG_WRNOSYNC 0x00000020
[2895] Fix | Delete
#define DB_LOG_ZERO 0x00000010
[2896] Fix | Delete
#define DB_MPOOL_CREATE 0x00000001
[2897] Fix | Delete
#define DB_MPOOL_DIRTY 0x00000002
[2898] Fix | Delete
#define DB_MPOOL_DISCARD 0x00000001
[2899] Fix | Delete
#define DB_MPOOL_EDIT 0x00000004
[2900] Fix | Delete
#define DB_MPOOL_FREE 0x00000008
[2901] Fix | Delete
#define DB_MPOOL_LAST 0x00000010
[2902] Fix | Delete
#define DB_MPOOL_NEW 0x00000020
[2903] Fix | Delete
#define DB_MPOOL_NOFILE 0x00000001
[2904] Fix | Delete
#define DB_MPOOL_NOLOCK 0x00000004
[2905] Fix | Delete
#define DB_MPOOL_TRY 0x00000040
[2906] Fix | Delete
#define DB_MPOOL_UNLINK 0x00000002
[2907] Fix | Delete
#define DB_MULTIPLE 0x00000800
[2908] Fix | Delete
#define DB_MULTIPLE_KEY 0x00004000
[2909] Fix | Delete
#define DB_MULTIVERSION 0x00000008
[2910] Fix | Delete
#define DB_MUTEX_ALLOCATED 0x00000001
[2911] Fix | Delete
#define DB_MUTEX_LOCKED 0x00000002
[2912] Fix | Delete
#define DB_MUTEX_LOGICAL_LOCK 0x00000004
[2913] Fix | Delete
#define DB_MUTEX_PROCESS_ONLY 0x00000008
[2914] Fix | Delete
#define DB_MUTEX_SELF_BLOCK 0x00000010
[2915] Fix | Delete
#define DB_MUTEX_SHARED 0x00000020
[2916] Fix | Delete
#define DB_NOERROR 0x00004000
[2917] Fix | Delete
#define DB_NOFLUSH 0x00001000
[2918] Fix | Delete
#define DB_NOLOCKING 0x00002000
[2919] Fix | Delete
#define DB_NOMMAP 0x00000010
[2920] Fix | Delete
#define DB_NOORDERCHK 0x00000002
[2921] Fix | Delete
#define DB_NOPANIC 0x00004000
[2922] Fix | Delete
#define DB_NOSYNC 0x00000001
[2923] Fix | Delete
#define DB_NO_AUTO_COMMIT 0x00008000
[2924] Fix | Delete
#define DB_NO_CHECKPOINT 0x00008000
[2925] Fix | Delete
#define DB_ODDFILESIZE 0x00000080
[2926] Fix | Delete
#define DB_ORDERCHKONLY 0x00000004
[2927] Fix | Delete
#define DB_OVERWRITE 0x00008000
[2928] Fix | Delete
#define DB_PANIC_ENVIRONMENT 0x00010000
[2929] Fix | Delete
#define DB_PRINTABLE 0x00000008
[2930] Fix | Delete
#define DB_PRIVATE 0x00010000
[2931] Fix | Delete
#define DB_PR_PAGE 0x00000010
[2932] Fix | Delete
#define DB_PR_RECOVERYTEST 0x00000020
[2933] Fix | Delete
#define DB_RDONLY 0x00000400
[2934] Fix | Delete
#define DB_RDWRMASTER 0x00010000
[2935] Fix | Delete
#define DB_READ_COMMITTED 0x00000400
[2936] Fix | Delete
#define DB_READ_UNCOMMITTED 0x00000200
[2937] Fix | Delete
#define DB_RECNUM 0x00000040
[2938] Fix | Delete
#define DB_RECOVER 0x00000002
[2939] Fix | Delete
#define DB_RECOVER_FATAL 0x00020000
[2940] Fix | Delete
#define DB_REGION_INIT 0x00020000
[2941] Fix | Delete
#define DB_REGISTER 0x00040000
[2942] Fix | Delete
#define DB_RENUMBER 0x00000080
[2943] Fix | Delete
#define DB_REPMGR_CONF_2SITE_STRICT 0x00000001
[2944] Fix | Delete
#define DB_REPMGR_CONF_ELECTIONS 0x00000002
[2945] Fix | Delete
#define DB_REPMGR_NEED_RESPONSE 0x00000001
[2946] Fix | Delete
#define DB_REPMGR_PEER 0x00000010
[2947] Fix | Delete
#define DB_REP_ANYWHERE 0x00000001
[2948] Fix | Delete
#define DB_REP_CLIENT 0x00000001
[2949] Fix | Delete
#define DB_REP_CONF_AUTOINIT 0x00000004
[2950] Fix | Delete
#define DB_REP_CONF_AUTOROLLBACK 0x00000008
[2951] Fix | Delete
#define DB_REP_CONF_BULK 0x00000010
[2952] Fix | Delete
#define DB_REP_CONF_DELAYCLIENT 0x00000020
[2953] Fix | Delete
#define DB_REP_CONF_INMEM 0x00000040
[2954] Fix | Delete
#define DB_REP_CONF_LEASE 0x00000080
[2955] Fix | Delete
#define DB_REP_CONF_NOWAIT 0x00000100
[2956] Fix | Delete
#define DB_REP_ELECTION 0x00000004
[2957] Fix | Delete
#define DB_REP_MASTER 0x00000002
[2958] Fix | Delete
#define DB_REP_NOBUFFER 0x00000002
[2959] Fix | Delete
#define DB_REP_PERMANENT 0x00000004
[2960] Fix | Delete
#define DB_REP_REREQUEST 0x00000008
[2961] Fix | Delete
#define DB_REVSPLITOFF 0x00000100
[2962] Fix | Delete
#define DB_RMW 0x00002000
[2963] Fix | Delete
#define DB_SALVAGE 0x00000040
[2964] Fix | Delete
#define DB_SA_SKIPFIRSTKEY 0x00000080
[2965] Fix | Delete
#define DB_SA_UNKNOWNKEY 0x00000100
[2966] Fix | Delete
#define DB_SEQ_DEC 0x00000001
[2967] Fix | Delete
#define DB_SEQ_INC 0x00000002
[2968] Fix | Delete
#define DB_SEQ_RANGE_SET 0x00000004
[2969] Fix | Delete
#define DB_SEQ_WRAP 0x00000008
[2970] Fix | Delete
#define DB_SEQ_WRAPPED 0x00000010
[2971] Fix | Delete
#define DB_SET_LOCK_TIMEOUT 0x00000001
[2972] Fix | Delete
#define DB_SET_REG_TIMEOUT 0x00000004
[2973] Fix | Delete
#define DB_SET_TXN_NOW 0x00000008
[2974] Fix | Delete
#define DB_SET_TXN_TIMEOUT 0x00000002
[2975] Fix | Delete
#define DB_SHALLOW_DUP 0x00000100
[2976] Fix | Delete
#define DB_SNAPSHOT 0x00000200
[2977] Fix | Delete
#define DB_STAT_ALL 0x00000004
[2978] Fix | Delete
#define DB_STAT_ALLOC 0x00000008
[2979] Fix | Delete
#define DB_STAT_CLEAR 0x00000001
[2980] Fix | Delete
#define DB_STAT_LOCK_CONF 0x00000010
[2981] Fix | Delete
#define DB_STAT_LOCK_LOCKERS 0x00000020
[2982] Fix | Delete
#define DB_STAT_LOCK_OBJECTS 0x00000040
[2983] Fix | Delete
#define DB_STAT_LOCK_PARAMS 0x00000080
[2984] Fix | Delete
#define DB_STAT_MEMP_HASH 0x00000010
[2985] Fix | Delete
#define DB_STAT_MEMP_NOERROR 0x00000020
[2986] Fix | Delete
#define DB_STAT_SUBSYSTEM 0x00000002
[2987] Fix | Delete
#define DB_STAT_SUMMARY 0x00000010
[2988] Fix | Delete
#define DB_ST_DUPOK 0x00000200
[2989] Fix | Delete
#define DB_ST_DUPSET 0x00000400
[2990] Fix | Delete
#define DB_ST_DUPSORT 0x00000800
[2991] Fix | Delete
#define DB_ST_IS_RECNO 0x00001000
[2992] Fix | Delete
#define DB_ST_OVFL_LEAF 0x00002000
[2993] Fix | Delete
#define DB_ST_RECNUM 0x00004000
[2994] Fix | Delete
#define DB_ST_RELEN 0x00008000
[2995] Fix | Delete
#define DB_ST_TOPLEVEL 0x00010000
[2996] Fix | Delete
#define DB_SYSTEM_MEM 0x00080000
[2997] Fix | Delete
#define DB_THREAD 0x00000020
[2998] Fix | Delete
#define DB_TIME_NOTGRANTED 0x00040000
[2999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function