mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 01:10:52 +08:00
cc05b877a2
first commit acl to github
230 lines
14 KiB
C
230 lines
14 KiB
C
/* DO NOT EDIT: automatically built by dist/s_include. */
|
|
#ifndef _rpc_client_ext_h_
|
|
#define _rpc_client_ext_h_
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
int __dbcl_envrpcserver __P((DB_ENV *, void *, const char *, long, long, u_int32_t));
|
|
int __dbcl_env_close_wrap __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_env_open_wrap __P((DB_ENV *, const char *, u_int32_t, int));
|
|
int __dbcl_db_open_wrap __P((DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int));
|
|
int __dbcl_refresh __P((DB_ENV *));
|
|
int __dbcl_retcopy __P((DB_ENV *, DBT *, void *, u_int32_t, void **, u_int32_t *));
|
|
void __dbcl_txn_end __P((DB_TXN *));
|
|
void __dbcl_txn_setup __P((DB_ENV *, DB_TXN *, DB_TXN *, u_int32_t));
|
|
void __dbcl_c_refresh __P((DBC *));
|
|
int __dbcl_c_setup __P((u_int, DB *, DBC **));
|
|
int __dbcl_dbclose_common __P((DB *));
|
|
int __dbcl_env_alloc __P((DB_ENV *, void *(*)(size_t), void *(*)(void *, size_t), void (*)(void *)));
|
|
int __dbcl_set_app_dispatch __P((DB_ENV *, int (*)(DB_ENV *, DBT *, DB_LSN *, db_recops)));
|
|
int __dbcl_env_get_cachesize __P((DB_ENV *, u_int32_t *, u_int32_t *, int *));
|
|
int __dbcl_env_cachesize __P((DB_ENV *, u_int32_t, u_int32_t, int));
|
|
int __dbcl_env_close __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_env_create __P((DB_ENV *, long));
|
|
int __dbcl_get_data_dirs __P((DB_ENV *, const char ***));
|
|
int __dbcl_set_data_dir __P((DB_ENV *, const char *));
|
|
int __dbcl_env_dbremove __P((DB_ENV *, DB_TXN *, const char *, const char *, u_int32_t));
|
|
int __dbcl_env_dbrename __P((DB_ENV *, DB_TXN *, const char *, const char *, const char *, u_int32_t));
|
|
int __dbcl_env_get_encrypt_flags __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_env_encrypt __P((DB_ENV *, const char *, u_int32_t));
|
|
int __dbcl_env_set_feedback __P((DB_ENV *, void (*)(DB_ENV *, int, int)));
|
|
int __dbcl_env_get_flags __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_env_flags __P((DB_ENV *, u_int32_t, int));
|
|
int __dbcl_get_lg_bsize __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_lg_bsize __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_lg_dir __P((DB_ENV *, const char * *));
|
|
int __dbcl_set_lg_dir __P((DB_ENV *, const char *));
|
|
int __dbcl_get_lg_max __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_lg_max __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_lg_regionmax __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_lg_regionmax __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_lk_conflicts __P((DB_ENV *, const u_int8_t **, int *));
|
|
int __dbcl_set_lk_conflict __P((DB_ENV *, u_int8_t *, int));
|
|
int __dbcl_get_lk_detect __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_lk_detect __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_set_lk_max __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_lk_max_locks __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_lk_max_locks __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_lk_max_lockers __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_lk_max_lockers __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_lk_max_objects __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_lk_max_objects __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_mp_max_openfd __P((DB_ENV *, int *));
|
|
int __dbcl_set_mp_max_openfd __P((DB_ENV *, int));
|
|
int __dbcl_get_mp_max_write __P((DB_ENV *, int *, int *));
|
|
int __dbcl_set_mp_max_write __P((DB_ENV *, int, int));
|
|
int __dbcl_get_mp_mmapsize __P((DB_ENV *, size_t *));
|
|
int __dbcl_set_mp_mmapsize __P((DB_ENV *, size_t));
|
|
int __dbcl_env_get_home __P((DB_ENV *, const char * *));
|
|
int __dbcl_env_get_open_flags __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_env_open __P((DB_ENV *, const char *, u_int32_t, int));
|
|
int __dbcl_env_paniccall __P((DB_ENV *, void (*)(DB_ENV *, int)));
|
|
int __dbcl_env_remove __P((DB_ENV *, const char *, u_int32_t));
|
|
int __dbcl_get_shm_key __P((DB_ENV *, long *));
|
|
int __dbcl_set_shm_key __P((DB_ENV *, long));
|
|
int __dbcl_get_tas_spins __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_tas_spins __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_timeout __P((DB_ENV *, u_int32_t *, u_int32_t));
|
|
int __dbcl_set_timeout __P((DB_ENV *, u_int32_t, u_int32_t));
|
|
int __dbcl_get_tmp_dir __P((DB_ENV *, const char * *));
|
|
int __dbcl_set_tmp_dir __P((DB_ENV *, const char *));
|
|
int __dbcl_get_tx_max __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_set_tx_max __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_get_tx_timestamp __P((DB_ENV *, time_t *));
|
|
int __dbcl_set_tx_timestamp __P((DB_ENV *, time_t *));
|
|
int __dbcl_get_verbose __P((DB_ENV *, u_int32_t, int *));
|
|
int __dbcl_set_verbose __P((DB_ENV *, u_int32_t, int));
|
|
int __dbcl_txn_abort __P((DB_TXN *));
|
|
int __dbcl_txn_begin __P((DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t));
|
|
int __dbcl_txn_checkpoint __P((DB_ENV *, u_int32_t, u_int32_t, u_int32_t));
|
|
int __dbcl_txn_commit __P((DB_TXN *, u_int32_t));
|
|
int __dbcl_txn_discard __P((DB_TXN *, u_int32_t));
|
|
int __dbcl_txn_prepare __P((DB_TXN *, u_int8_t *));
|
|
int __dbcl_txn_recover __P((DB_ENV *, DB_PREPLIST *, long, long *, u_int32_t));
|
|
int __dbcl_txn_stat __P((DB_ENV *, DB_TXN_STAT **, u_int32_t));
|
|
int __dbcl_txn_timeout __P((DB_TXN *, u_int32_t, u_int32_t));
|
|
int __dbcl_rep_elect __P((DB_ENV *, int, int, int, u_int32_t, int *, u_int32_t));
|
|
int __dbcl_rep_flush __P((DB_ENV *));
|
|
int __dbcl_rep_process_message __P((DB_ENV *, DBT *, DBT *, int *, DB_LSN *));
|
|
int __dbcl_rep_get_limit __P((DB_ENV *, u_int32_t *, u_int32_t *));
|
|
int __dbcl_rep_set_limit __P((DB_ENV *, u_int32_t, u_int32_t));
|
|
int __dbcl_rep_set_request __P((DB_ENV *, u_int32_t, u_int32_t));
|
|
int __dbcl_rep_set_rep_transport __P((DB_ENV *, int, int (*)(DB_ENV *, const DBT *, const DBT *, const DB_LSN *, int, u_int32_t)));
|
|
int __dbcl_rep_start __P((DB_ENV *, DBT *, u_int32_t));
|
|
int __dbcl_rep_stat __P((DB_ENV *, DB_REP_STAT **, u_int32_t));
|
|
int __dbcl_db_alloc __P((DB *, void *(*)(size_t), void *(*)(void *, size_t), void (*)(void *)));
|
|
int __dbcl_db_associate __P((DB *, DB_TXN *, DB *, int (*)(DB *, const DBT *, const DBT *, DBT *), u_int32_t));
|
|
int __dbcl_db_bt_compare __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
|
|
int __dbcl_db_bt_maxkey __P((DB *, u_int32_t));
|
|
int __dbcl_db_get_bt_minkey __P((DB *, u_int32_t *));
|
|
int __dbcl_db_bt_minkey __P((DB *, u_int32_t));
|
|
int __dbcl_db_bt_prefix __P((DB *, size_t(*)(DB *, const DBT *, const DBT *)));
|
|
int __dbcl_db_set_append_recno __P((DB *, int (*)(DB *, DBT *, db_recno_t)));
|
|
int __dbcl_db_get_cachesize __P((DB *, u_int32_t *, u_int32_t *, int *));
|
|
int __dbcl_db_cachesize __P((DB *, u_int32_t, u_int32_t, int));
|
|
int __dbcl_db_close __P((DB *, u_int32_t));
|
|
int __dbcl_db_create __P((DB *, DB_ENV *, u_int32_t));
|
|
int __dbcl_db_del __P((DB *, DB_TXN *, DBT *, u_int32_t));
|
|
int __dbcl_db_dup_compare __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
|
|
int __dbcl_db_get_encrypt_flags __P((DB *, u_int32_t *));
|
|
int __dbcl_db_encrypt __P((DB *, const char *, u_int32_t));
|
|
int __dbcl_db_get_extentsize __P((DB *, u_int32_t *));
|
|
int __dbcl_db_extentsize __P((DB *, u_int32_t));
|
|
int __dbcl_db_fd __P((DB *, int *));
|
|
int __dbcl_db_feedback __P((DB *, void (*)(DB *, int, int)));
|
|
int __dbcl_db_get_flags __P((DB *, u_int32_t *));
|
|
int __dbcl_db_flags __P((DB *, u_int32_t));
|
|
int __dbcl_db_get __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
|
|
int __dbcl_db_get_name __P((DB *, const char * *, const char * *));
|
|
int __dbcl_db_get_open_flags __P((DB *, u_int32_t *));
|
|
int __dbcl_db_get_h_ffactor __P((DB *, u_int32_t *));
|
|
int __dbcl_db_h_ffactor __P((DB *, u_int32_t));
|
|
int __dbcl_db_h_hash __P((DB *, u_int32_t(*)(DB *, const void *, u_int32_t)));
|
|
int __dbcl_db_get_h_nelem __P((DB *, u_int32_t *));
|
|
int __dbcl_db_h_nelem __P((DB *, u_int32_t));
|
|
int __dbcl_db_key_range __P((DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t));
|
|
int __dbcl_db_get_lorder __P((DB *, int *));
|
|
int __dbcl_db_lorder __P((DB *, int));
|
|
int __dbcl_db_open __P((DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int));
|
|
int __dbcl_db_get_pagesize __P((DB *, u_int32_t *));
|
|
int __dbcl_db_pagesize __P((DB *, u_int32_t));
|
|
int __dbcl_db_panic __P((DB *, void (*)(DB_ENV *, int)));
|
|
int __dbcl_db_pget __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t));
|
|
int __dbcl_db_put __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
|
|
int __dbcl_db_get_re_delim __P((DB *, int *));
|
|
int __dbcl_db_re_delim __P((DB *, int));
|
|
int __dbcl_db_get_re_len __P((DB *, u_int32_t *));
|
|
int __dbcl_db_re_len __P((DB *, u_int32_t));
|
|
int __dbcl_db_re_pad __P((DB *, int));
|
|
int __dbcl_db_get_re_pad __P((DB *, int *));
|
|
int __dbcl_db_get_re_source __P((DB *, const char * *));
|
|
int __dbcl_db_re_source __P((DB *, const char *));
|
|
int __dbcl_db_remove __P((DB *, const char *, const char *, u_int32_t));
|
|
int __dbcl_db_rename __P((DB *, const char *, const char *, const char *, u_int32_t));
|
|
int __dbcl_db_stat __P((DB *, DB_TXN *, void *, u_int32_t));
|
|
int __dbcl_db_sync __P((DB *, u_int32_t));
|
|
int __dbcl_db_truncate __P((DB *, DB_TXN *, u_int32_t *, u_int32_t));
|
|
int __dbcl_db_upgrade __P((DB *, const char *, u_int32_t));
|
|
int __dbcl_db_verify __P((DB *, const char *, const char *, FILE *, u_int32_t));
|
|
int __dbcl_db_cursor __P((DB *, DB_TXN *, DBC **, u_int32_t));
|
|
int __dbcl_db_join __P((DB *, DBC **, DBC **, u_int32_t));
|
|
int __dbcl_dbc_close __P((DBC *));
|
|
int __dbcl_dbc_count __P((DBC *, db_recno_t *, u_int32_t));
|
|
int __dbcl_dbc_del __P((DBC *, u_int32_t));
|
|
int __dbcl_dbc_dup __P((DBC *, DBC **, u_int32_t));
|
|
int __dbcl_dbc_get __P((DBC *, DBT *, DBT *, u_int32_t));
|
|
int __dbcl_dbc_pget __P((DBC *, DBT *, DBT *, DBT *, u_int32_t));
|
|
int __dbcl_dbc_put __P((DBC *, DBT *, DBT *, u_int32_t));
|
|
int __dbcl_lock_detect __P((DB_ENV *, u_int32_t, u_int32_t, int *));
|
|
int __dbcl_lock_get __P((DB_ENV *, u_int32_t, u_int32_t, const DBT *, db_lockmode_t, DB_LOCK *));
|
|
int __dbcl_lock_id __P((DB_ENV *, u_int32_t *));
|
|
int __dbcl_lock_id_free __P((DB_ENV *, u_int32_t));
|
|
int __dbcl_lock_put __P((DB_ENV *, DB_LOCK *));
|
|
int __dbcl_lock_stat __P((DB_ENV *, DB_LOCK_STAT **, u_int32_t));
|
|
int __dbcl_lock_vec __P((DB_ENV *, u_int32_t, u_int32_t, DB_LOCKREQ *, int, DB_LOCKREQ **));
|
|
int __dbcl_log_archive __P((DB_ENV *, char ***, u_int32_t));
|
|
int __dbcl_log_cursor __P((DB_ENV *, DB_LOGC **, u_int32_t));
|
|
int __dbcl_log_file __P((DB_ENV *, const DB_LSN *, char *, size_t));
|
|
int __dbcl_log_flush __P((DB_ENV *, const DB_LSN *));
|
|
int __dbcl_log_put __P((DB_ENV *, DB_LSN *, const DBT *, u_int32_t));
|
|
int __dbcl_log_stat __P((DB_ENV *, DB_LOG_STAT **, u_int32_t));
|
|
int __dbcl_memp_register __P((DB_ENV *, int, int (*)(DB_ENV *, db_pgno_t, void *, DBT *), int (*)(DB_ENV *, db_pgno_t, void *, DBT *)));
|
|
int __dbcl_memp_stat __P((DB_ENV *, DB_MPOOL_STAT **, DB_MPOOL_FSTAT ***, u_int32_t));
|
|
int __dbcl_memp_sync __P((DB_ENV *, DB_LSN *));
|
|
int __dbcl_memp_trickle __P((DB_ENV *, int, int *));
|
|
int __dbcl_memp_fget __P((DB_MPOOLFILE *, u_int32_t *, u_int32_t, void *));
|
|
int __dbcl_memp_fopen __P((DB_MPOOLFILE *, const char *, u_int32_t, int, size_t));
|
|
int __dbcl_memp_fput __P((DB_MPOOLFILE *, void *, u_int32_t));
|
|
int __dbcl_memp_fset __P((DB_MPOOLFILE *, void *, u_int32_t));
|
|
int __dbcl_memp_get_clear_len __P((DB_MPOOLFILE *, u_int32_t *));
|
|
int __dbcl_memp_set_clear_len __P((DB_MPOOLFILE *, u_int32_t));
|
|
int __dbcl_memp_get_fileid __P((DB_MPOOLFILE *, u_int8_t *));
|
|
int __dbcl_memp_set_fileid __P((DB_MPOOLFILE *, u_int8_t *));
|
|
int __dbcl_memp_get_flags __P((DB_MPOOLFILE *, u_int32_t *));
|
|
int __dbcl_memp_set_flags __P((DB_MPOOLFILE *, u_int32_t, int));
|
|
int __dbcl_memp_get_ftype __P((DB_MPOOLFILE *, int *));
|
|
int __dbcl_memp_set_ftype __P((DB_MPOOLFILE *, int));
|
|
int __dbcl_memp_get_lsn_offset __P((DB_MPOOLFILE *, int32_t *));
|
|
int __dbcl_memp_set_lsn_offset __P((DB_MPOOLFILE *, int32_t));
|
|
int __dbcl_memp_get_maxsize __P((DB_MPOOLFILE *, u_int32_t *, u_int32_t *));
|
|
int __dbcl_memp_set_maxsize __P((DB_MPOOLFILE *, u_int32_t, u_int32_t));
|
|
int __dbcl_memp_get_pgcookie __P((DB_MPOOLFILE *, DBT *));
|
|
int __dbcl_memp_set_pgcookie __P((DB_MPOOLFILE *, DBT *));
|
|
int __dbcl_memp_get_priority __P((DB_MPOOLFILE *, DB_CACHE_PRIORITY *));
|
|
int __dbcl_memp_set_priority __P((DB_MPOOLFILE *, DB_CACHE_PRIORITY));
|
|
int __dbcl_memp_fsync __P((DB_MPOOLFILE *));
|
|
int __dbcl_env_create_ret __P((DB_ENV *, long, __env_create_reply *));
|
|
int __dbcl_env_open_ret __P((DB_ENV *, const char *, u_int32_t, int, __env_open_reply *));
|
|
int __dbcl_env_remove_ret __P((DB_ENV *, const char *, u_int32_t, __env_remove_reply *));
|
|
int __dbcl_txn_abort_ret __P((DB_TXN *, __txn_abort_reply *));
|
|
int __dbcl_txn_begin_ret __P((DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t, __txn_begin_reply *));
|
|
int __dbcl_txn_commit_ret __P((DB_TXN *, u_int32_t, __txn_commit_reply *));
|
|
int __dbcl_txn_discard_ret __P((DB_TXN *, u_int32_t, __txn_discard_reply *));
|
|
int __dbcl_txn_recover_ret __P((DB_ENV *, DB_PREPLIST *, long, long *, u_int32_t, __txn_recover_reply *));
|
|
int __dbcl_db_close_ret __P((DB *, u_int32_t, __db_close_reply *));
|
|
int __dbcl_db_create_ret __P((DB *, DB_ENV *, u_int32_t, __db_create_reply *));
|
|
int __dbcl_db_get_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t, __db_get_reply *));
|
|
int __dbcl_db_key_range_ret __P((DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t, __db_key_range_reply *));
|
|
int __dbcl_db_open_ret __P((DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int, __db_open_reply *));
|
|
int __dbcl_db_pget_ret __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t, __db_pget_reply *));
|
|
int __dbcl_db_put_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t, __db_put_reply *));
|
|
int __dbcl_db_remove_ret __P((DB *, const char *, const char *, u_int32_t, __db_remove_reply *));
|
|
int __dbcl_db_rename_ret __P((DB *, const char *, const char *, const char *, u_int32_t, __db_rename_reply *));
|
|
int __dbcl_db_stat_ret __P((DB *, DB_TXN *, void *, u_int32_t, __db_stat_reply *));
|
|
int __dbcl_db_truncate_ret __P((DB *, DB_TXN *, u_int32_t *, u_int32_t, __db_truncate_reply *));
|
|
int __dbcl_db_cursor_ret __P((DB *, DB_TXN *, DBC **, u_int32_t, __db_cursor_reply *));
|
|
int __dbcl_db_join_ret __P((DB *, DBC **, DBC **, u_int32_t, __db_join_reply *));
|
|
int __dbcl_dbc_close_ret __P((DBC *, __dbc_close_reply *));
|
|
int __dbcl_dbc_count_ret __P((DBC *, db_recno_t *, u_int32_t, __dbc_count_reply *));
|
|
int __dbcl_dbc_dup_ret __P((DBC *, DBC **, u_int32_t, __dbc_dup_reply *));
|
|
int __dbcl_dbc_get_ret __P((DBC *, DBT *, DBT *, u_int32_t, __dbc_get_reply *));
|
|
int __dbcl_dbc_pget_ret __P((DBC *, DBT *, DBT *, DBT *, u_int32_t, __dbc_pget_reply *));
|
|
int __dbcl_dbc_put_ret __P((DBC *, DBT *, DBT *, u_int32_t, __dbc_put_reply *));
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
#endif /* !_rpc_client_ext_h_ */
|