📄 svn_client.c
字号:
svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_client_get_ssl_client_cert_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_client_cert_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); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_client_get_ssl_client_cert_pw_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_client_cert_pw_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); svn_swig_rb_pop_pool(_global_svn_swig_rb_pool); } return vresult;}static VALUE_wrap_svn_client_get_ssl_server_trust_prompt_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; svn_auth_ssl_server_trust_prompt_func_t arg2 = (svn_auth_ssl_server_trust_prompt_func_t) 0 ; void *arg3 = (void *) 0 ; apr_pool_t *arg4 = (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, &arg4); _global_pool = arg4; svn_swig_rb_push_pool(_global_svn_swig_rb_pool); } { temp1 = NULL; arg1 = (svn_auth_provider_object_t **)&temp1; } if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { arg2 = svn_swig_rb_auth_ssl_server_trust_prompt_func; arg3 = (void *)svn_swig_rb_make_baton(argv[0], _global_svn_swig_rb_pool); } if (argc > 1) { } { svn_client_get_ssl_server_trust_prompt_provider(arg1,arg2,arg3,arg4); } { 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_client_cert_prompt_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; svn_auth_ssl_client_cert_prompt_func_t arg2 = (svn_auth_ssl_client_cert_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_ssl_client_cert_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_ssl_client_cert_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_ssl_client_cert_pw_prompt_provider(int argc, VALUE *argv, VALUE self) { svn_auth_provider_object_t **arg1 = (svn_auth_provider_object_t **) 0 ; svn_auth_ssl_client_cert_pw_prompt_func_t arg2 = (svn_auth_ssl_client_cert_pw_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_ssl_client_cert_pw_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_ssl_client_cert_pw_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;}swig_class cSvn_client_proplist_item_t;static VALUE_wrap_svn_client_proplist_item_t_node_name_set(int argc, VALUE *argv, VALUE self) { svn_client_proplist_item_t *arg1 = (svn_client_proplist_item_t *) 0 ; svn_stringbuf_t *arg2 = (svn_stringbuf_t *) 0 ; void *temp1 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_client_proplist_item_t, 1); arg1 = (svn_client_proplist_item_t *)temp1; } { if (NIL_P(argv[0])) { arg2 = NULL; } else { VALUE rb_pool; apr_pool_t *pool; svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &pool); arg2 = svn_stringbuf_ncreate(StringValuePtr(argv[0]), RSTRING(argv[0])->len, pool); } } if (arg1) (arg1)->node_name = arg2; return Qnil;}static VALUE_wrap_svn_client_proplist_item_t_node_name_get(int argc, VALUE *argv, VALUE self) { svn_client_proplist_item_t *arg1 = (svn_client_proplist_item_t *) 0 ; svn_stringbuf_t *result; void *temp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_client_proplist_item_t, 1); arg1 = (svn_client_proplist_item_t *)temp1; } result = (svn_stringbuf_t *) ((arg1)->node_name); { vresult = rb_str_new(result->data, result->len); } return vresult;}static VALUE_wrap_svn_client_proplist_item_t_prop_hash_set(int argc, VALUE *argv, VALUE self) { svn_client_proplist_item_t *arg1 = (svn_client_proplist_item_t *) 0 ; apr_hash_t *arg2 = (apr_hash_t *) 0 ; void *temp1 ; void *temp2 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_client_proplist_item_t, 1); arg1 = (svn_client_proplist_item_t *)temp1; } { SWIG_ConvertPtr(argv[0], &temp2, SWIGTYPE_p_apr_hash_t, 1); arg2 = (apr_hash_t *)temp2; } if (arg1) (arg1)->prop_hash = arg2; return Qnil;}static VALUE_wrap_svn_client_proplist_item_t_prop_hash_get(int argc, VALUE *argv, VALUE self) { svn_client_proplist_item_t *arg1 = (svn_client_proplist_item_t *) 0 ; apr_hash_t *result; void *temp1 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_client_proplist_item_t, 1); arg1 = (svn_client_proplist_item_t *)temp1; } result = (apr_hash_t *) ((arg1)->prop_hash); { vresult = svn_swig_rb_prop_hash_to_hash(result); } return vresult;}#ifdef HAVE_RB_DEFINE_ALLOC_FUNCstatic VALUE_wrap_svn_client_proplist_item_t_allocate(VALUE self) {#else static VALUE _wrap_svn_client_proplist_item_t_allocate(int argc, VALUE *argv, VALUE self) {#endif VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_svn_client_proplist_item_t);#ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv);#endif return vresult; } static VALUE_wrap_new_svn_client_proplist_item_t(int argc, VALUE *argv, VALUE self) { svn_client_proplist_item_t *result; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); { result = (svn_client_proplist_item_t *)(svn_client_proplist_item_t *) calloc(1, sizeof(svn_client_proplist_item_t)); DATA_PTR(self) = result; } return self;}static voidfree_svn_client_proplist_item_t(svn_client_proplist_item_t *arg1) { free((char *) arg1);}static VALUE_wrap_svn_client_proplist_item_dup(int argc, VALUE *argv, VALUE self) { svn_client_proplist_item_t *arg1 = (svn_client_proplist_item_t *) 0 ; apr_pool_t *arg2 = (apr_pool_t *) 0 ; svn_client_proplist_item_t *result; VALUE _global_svn_swig_rb_pool ; apr_pool_t *_global_pool ; void *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); } if ((argc < 1) || (argc > 2)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(argv[0], &temp1, SWIGTYPE_p_svn_client_proplist_item_t, 1); arg1 = (svn_client_proplist_item_t *)temp1; } if (argc > 1) { } { result = (svn_client_proplist_item_t *)svn_client_proplist_item_dup((struct svn_client_proplist_item_t const *)arg1,arg2); } vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_svn_client_proplist_item_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;}swig_class cSvn_client_commit_info_t;static VALUE_wrap_svn_client_commit_info_t_revision_set(int argc, VALUE *argv, VALUE self) { svn_client_commit_info_t *arg1 = (svn_client_commit_info_t *) 0 ; svn_revnum_t arg2 ; void *temp1 ; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); { SWIG_ConvertPtr(self, &temp1, SWIGTYPE_p_svn_client_commit_info_t, 1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -