📄 svn_client.c
字号:
#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_client_cert_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[12]#define SWIGTYPE_p_f_p_p_svn_auth_cred_ssl_server_trust_t_p_void_p_q_const__char_apr_uint32_t_p_q_const__svn_auth_ssl_server_cert_info_t_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[13]#define SWIGTYPE_p_f_p_p_svn_auth_cred_username_t_p_void_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[14]#define SWIGTYPE_p_f_p_q_const__svn_client_diff_summarize_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[15]#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[16]#define SWIGTYPE_p_f_p_void_apr_int64_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[17]#define SWIGTYPE_p_f_p_void_p_apr_hash_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[18]#define SWIGTYPE_p_f_p_void_p_q_const__char_enum_svn_wc_notify_action_t_enum_svn_node_kind_t_p_q_const__char_enum_svn_wc_notify_state_t_enum_svn_wc_notify_state_t_long__void swig_types[19]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_dirent_t_p_q_const__svn_lock_t_p_q_const__char_p_apr_pool_t__p_svn_error_t swig_types[20]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__svn_info_t_p_apr_pool_t__p_svn_error_t swig_types[21]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void swig_types[22]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void swig_types[23]#define SWIGTYPE_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void swig_types[24]#define SWIGTYPE_p_int swig_types[25]#define SWIGTYPE_p_long swig_types[26]#define SWIGTYPE_p_p_apr_array_header_t swig_types[27]#define SWIGTYPE_p_p_apr_hash_t swig_types[28]#define SWIGTYPE_p_p_char swig_types[29]#define SWIGTYPE_p_p_svn_auth_provider_object_t swig_types[30]#define SWIGTYPE_p_p_svn_client_commit_info_t swig_types[31]#define SWIGTYPE_p_p_svn_client_ctx_t swig_types[32]#define SWIGTYPE_p_p_svn_commit_info_t swig_types[33]#define SWIGTYPE_p_p_svn_ra_session_t swig_types[34]#define SWIGTYPE_p_p_svn_string_t swig_types[35]#define SWIGTYPE_p_svn_auth_baton_t swig_types[36]#define SWIGTYPE_p_svn_auth_cred_simple_t swig_types[37]#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_pw_t swig_types[38]#define SWIGTYPE_p_svn_auth_cred_ssl_client_cert_t swig_types[39]#define SWIGTYPE_p_svn_auth_cred_ssl_server_trust_t swig_types[40]#define SWIGTYPE_p_svn_auth_cred_username_t swig_types[41]#define SWIGTYPE_p_svn_auth_iterstate_t swig_types[42]#define SWIGTYPE_p_svn_auth_provider_object_t swig_types[43]#define SWIGTYPE_p_svn_auth_provider_t swig_types[44]#define SWIGTYPE_p_svn_auth_ssl_server_cert_info_t swig_types[45]#define SWIGTYPE_p_svn_client_commit_info_t swig_types[46]#define SWIGTYPE_p_svn_client_commit_item2_t swig_types[47]#define SWIGTYPE_p_svn_client_commit_item_t swig_types[48]#define SWIGTYPE_p_svn_client_ctx_t swig_types[49]#define SWIGTYPE_p_svn_client_diff_summarize_kind_t swig_types[50]#define SWIGTYPE_p_svn_client_diff_summarize_t swig_types[51]#define SWIGTYPE_p_svn_client_proplist_item_t swig_types[52]#define SWIGTYPE_p_svn_commit_info_t swig_types[53]#define SWIGTYPE_p_svn_config_t swig_types[54]#define SWIGTYPE_p_svn_delta_editor_t swig_types[55]#define SWIGTYPE_p_svn_diff_datasource_e swig_types[56]#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[57]#define SWIGTYPE_p_svn_diff_file_options_t swig_types[58]#define SWIGTYPE_p_svn_diff_fns_t swig_types[59]#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[60]#define SWIGTYPE_p_svn_diff_t swig_types[61]#define SWIGTYPE_p_svn_dirent_t swig_types[62]#define SWIGTYPE_p_svn_errno_t swig_types[63]#define SWIGTYPE_p_svn_error_t swig_types[64]#define SWIGTYPE_p_svn_info_t swig_types[65]#define SWIGTYPE_p_svn_io_dirent_t swig_types[66]#define SWIGTYPE_p_svn_io_file_del_t swig_types[67]#define SWIGTYPE_p_svn_lock_t swig_types[68]#define SWIGTYPE_p_svn_log_changed_path_t swig_types[69]#define SWIGTYPE_p_svn_node_kind_t swig_types[70]#define SWIGTYPE_p_svn_opt_revision_t swig_types[71]#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[72]#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[73]#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[74]#define SWIGTYPE_p_svn_prop_kind swig_types[75]#define SWIGTYPE_p_svn_prop_t swig_types[76]#define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[77]#define SWIGTYPE_p_svn_ra_callbacks_t swig_types[78]#define SWIGTYPE_p_svn_ra_plugin_t swig_types[79]#define SWIGTYPE_p_svn_ra_reporter2_t swig_types[80]#define SWIGTYPE_p_svn_ra_reporter_t swig_types[81]#define SWIGTYPE_p_svn_ra_session_t swig_types[82]#define SWIGTYPE_p_svn_stream_t swig_types[83]#define SWIGTYPE_p_svn_string_t swig_types[84]#define SWIGTYPE_p_svn_stringbuf_t swig_types[85]#define SWIGTYPE_p_svn_txdelta_op_t swig_types[86]#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[87]#define SWIGTYPE_p_svn_txdelta_window_t swig_types[88]#define SWIGTYPE_p_svn_version_checklist_t swig_types[89]#define SWIGTYPE_p_svn_version_t swig_types[90]#define SWIGTYPE_p_svn_wc_adm_access_t swig_types[91]#define SWIGTYPE_p_svn_wc_diff_callbacks2_t swig_types[92]#define SWIGTYPE_p_svn_wc_diff_callbacks_t swig_types[93]#define SWIGTYPE_p_svn_wc_entry_callbacks_t swig_types[94]#define SWIGTYPE_p_svn_wc_entry_t swig_types[95]#define SWIGTYPE_p_svn_wc_external_item_t swig_types[96]#define SWIGTYPE_p_svn_wc_merge_outcome_t swig_types[97]#define SWIGTYPE_p_svn_wc_notify_action_t swig_types[98]#define SWIGTYPE_p_svn_wc_notify_lock_state_t swig_types[99]#define SWIGTYPE_p_svn_wc_notify_state_t swig_types[100]#define SWIGTYPE_p_svn_wc_notify_t swig_types[101]#define SWIGTYPE_p_svn_wc_revision_status_t swig_types[102]#define SWIGTYPE_p_svn_wc_schedule_t swig_types[103]#define SWIGTYPE_p_svn_wc_status2_t swig_types[104]#define SWIGTYPE_p_svn_wc_status_t swig_types[105]#define SWIGTYPE_p_svn_wc_traversal_info_t swig_types[106]#define SWIGTYPE_p_unsigned_long swig_types[107]#define SWIGTYPE_p_void swig_types[108]static swig_type_info *swig_types[109];static swig_module_info swig_module = {swig_types, 109, 0, 0, 0, 0};#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)/* -------- TYPES TABLE (END) -------- */#define SWIG_init Init_client#define SWIG_name "Svn::Ext::Client"static VALUE mClient;static void SWIG_AsVal(VALUE obj, int *val){ *val = (int) NUM2INT(obj);}#ifdef __cplusplusextern "C" {#endif#ifdef HAVE_SYS_TIME_H# include <sys/time.h>struct timeval rb_time_timeval(VALUE);#endif#ifdef __cplusplus}#endif#ifdef __cplusplusextern "C" {#endif#include "rubyio.h"#ifdef __cplusplus}#endifstatic VALUE _global_svn_swig_rb_pool = Qnil;#include "svn_time.h"#include "svn_pools.h"#ifdef SWIGPYTHON#include "swigutil_py.h"#endif#ifdef SWIGPERL#include "swigutil_pl.h"#endif#ifdef SWIGRUBY#include <apu.h>#include <apr_xlate.h>#include "swigutil_rb.h"#endif#include "svn_client.h"static VALUE output_helper(VALUE target, VALUE o) { if (NIL_P(target)) { target = o; } else { if (TYPE(target) != T_ARRAY) { VALUE o2 = target; target = rb_ary_new(); rb_ary_push(target, o2); } rb_ary_push(target, o); } return target;}static VALUEsvn_client_set_log_msg_func2(svn_client_ctx_t *ctx, svn_client_get_commit_log2_t log_msg_func2, void *log_msg_baton2, apr_pool_t *pool){ ctx->log_msg_func2 = log_msg_func2; ctx->log_msg_baton2 = log_msg_baton2; return (VALUE)log_msg_baton2;} static VALUEsvn_client_set_notify_func2(svn_client_ctx_t *ctx, svn_wc_notify_func2_t notify_func2, void *notify_baton2, apr_pool_t *pool){ ctx->notify_func2 = notify_func2; ctx->notify_baton2 = notify_baton2; return (VALUE)notify_baton2;}static VALUEsvn_client_set_cancel_func(svn_client_ctx_t *ctx, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool){ ctx->cancel_func = cancel_func; ctx->cancel_baton = cancel_baton; return (VALUE)cancel_baton;}static VALUE_wrap_svn_client_version(int argc, VALUE *argv, VALUE self) { svn_version_t *result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { result = (svn_version_t *)svn_client_version(); } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_svn_version_t,0); return vresult;}static VALUE_wrap_svn_client_get_simple_prompt_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; svn_auth_simple_prompt_func_t arg2 = (svn_auth_simple_prompt_func_t) 0 ; void *arg3 = (void *) 0 ; int arg4 ; apr_pool_t *arg5 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_auth_provider_object_t *temp1 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5); _global_pool = arg5; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_auth_provider_object_t **)&temp1; } if ((argc < 2) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); { arg2 = svn_swig_rb_auth_simple_prompt_func; arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool); } arg4 = NUM2INT(argv[1]); if (argc > 2) { } { svn_client_get_simple_prompt_provider(arg1,arg2,arg3,arg4,arg5); } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_client_get_username_prompt_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; svn_auth_username_prompt_func_t arg2 = (svn_auth_username_prompt_func_t) 0 ; void *arg3 = (void *) 0 ; int arg4 ; apr_pool_t *arg5 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_auth_provider_object_t *temp1 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5); _global_pool = arg5; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_auth_provider_object_t **)&temp1; } if ((argc < 2) || (argc > 3)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); { arg2 = svn_swig_rb_auth_username_prompt_func; arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool); } arg4 = NUM2INT(argv[1]); if (argc > 2) { } { svn_client_get_username_prompt_provider(arg1,arg2,arg3,arg4,arg5); } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_client_get_simple_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_auth_provider_object_t *temp1 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); _global_pool = arg2; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_auth_provider_object_t **)&temp1; } if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); if (argc > 0) { } { svn_client_get_simple_provider(arg1,arg2); } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_client_get_username_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_auth_provider_object_t *temp1 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); _global_pool = arg2; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_auth_provider_object_t **)&temp1; } if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); if (argc > 0) { } { svn_client_get_username_provider(arg1,arg2); } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_client_get_ssl_server_trust_file_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; svn_auth_provider_object_t *temp1 ; VALUE vresult = Qnil; { svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg2); _global_pool = arg2; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_auth_provider_object_t **)&temp1; } if ((argc < 0) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); if (argc > 0) { } { svn_client_get_ssl_server_trust_file_provider(arg1,arg2); } { vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_auth_provider_object_t, 0)); } { svn_swig_rb_set_pool(vresult, _global_svn_swig_rb_pool);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -