⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svn_wc.c

📁 subversion-1.4.5.tar.gz 配置svn的源码
💻 C
📖 第 1 页 / 共 5 页
字号:
#define SWIGTYPE_p_f_p_apr_getopt_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[6]#define SWIGTYPE_p_f_p_q_const__char_p_q_const__svn_wc_entry_t_p_void_p_apr_pool_t__p_svn_error_t swig_types[7]#define SWIGTYPE_p_f_p_svn_wc_adm_access_t_p_svn_wc_notify_state_t_p_q_const__char_p_q_const__apr_array_header_t_p_apr_hash_t_p_void__p_svn_error_t swig_types[8]#define SWIGTYPE_p_f_p_svn_wc_adm_access_t_p_svn_wc_notify_state_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_apr_hash_t_p_void__p_svn_error_t swig_types[9]#define SWIGTYPE_p_f_p_svn_wc_adm_access_t_p_svn_wc_notify_state_t_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[10]#define SWIGTYPE_p_f_p_svn_wc_adm_access_t_p_svn_wc_notify_state_t_p_q_const__char_p_q_const__char_p_q_const__char_svn_revnum_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_void__p_svn_error_t swig_types[11]#define SWIGTYPE_p_f_p_svn_wc_adm_access_t_p_svn_wc_notify_state_t_p_q_const__char_p_void__p_svn_error_t swig_types[12]#define SWIGTYPE_p_f_p_svn_wc_adm_access_t_p_svn_wc_notify_state_t_p_q_const__char_svn_revnum_t_p_void__p_svn_error_t swig_types[13]#define SWIGTYPE_p_f_p_svn_wc_adm_access_t_p_svn_wc_notify_state_t_p_svn_wc_notify_state_t_p_q_const__char_p_q_const__char_p_q_const__char_svn_revnum_t_svn_revnum_t_p_q_const__char_p_q_const__char_p_q_const__apr_array_header_t_p_apr_hash_t_p_void__p_svn_error_t swig_types[14]#define SWIGTYPE_p_f_p_void__p_svn_error_t swig_types[15]#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[16]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char__p_svn_error_t swig_types[17]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_q_const__char_svn_boolean_t_p_apr_pool_t__p_svn_error_t swig_types[18]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status2_t__void swig_types[19]#define SWIGTYPE_p_f_p_void_p_q_const__char_p_struct_svn_wc_status_t__void swig_types[20]#define SWIGTYPE_p_f_p_void_p_q_const__struct_svn_wc_notify_t_p_apr_pool_t__void swig_types[21]#define SWIGTYPE_p_int swig_types[22]#define SWIGTYPE_p_long swig_types[23]#define SWIGTYPE_p_p_apr_array_header_t swig_types[24]#define SWIGTYPE_p_p_apr_file_t swig_types[25]#define SWIGTYPE_p_p_apr_hash_t swig_types[26]#define SWIGTYPE_p_p_char swig_types[27]#define SWIGTYPE_p_p_svn_delta_editor_t swig_types[28]#define SWIGTYPE_p_p_svn_string_t swig_types[29]#define SWIGTYPE_p_p_svn_wc_adm_access_t swig_types[30]#define SWIGTYPE_p_p_svn_wc_entry_t swig_types[31]#define SWIGTYPE_p_p_svn_wc_revision_status_t swig_types[32]#define SWIGTYPE_p_p_svn_wc_status2_t swig_types[33]#define SWIGTYPE_p_p_svn_wc_status_t swig_types[34]#define SWIGTYPE_p_p_void 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_commit_info_t swig_types[46]#define SWIGTYPE_p_svn_config_t swig_types[47]#define SWIGTYPE_p_svn_delta_editor_t swig_types[48]#define SWIGTYPE_p_svn_diff_datasource_e swig_types[49]#define SWIGTYPE_p_svn_diff_file_ignore_space_t swig_types[50]#define SWIGTYPE_p_svn_diff_file_options_t swig_types[51]#define SWIGTYPE_p_svn_diff_fns_t swig_types[52]#define SWIGTYPE_p_svn_diff_output_fns_t swig_types[53]#define SWIGTYPE_p_svn_diff_t swig_types[54]#define SWIGTYPE_p_svn_dirent_t swig_types[55]#define SWIGTYPE_p_svn_errno_t swig_types[56]#define SWIGTYPE_p_svn_error_t swig_types[57]#define SWIGTYPE_p_svn_io_dirent_t swig_types[58]#define SWIGTYPE_p_svn_io_file_del_t swig_types[59]#define SWIGTYPE_p_svn_lock_t swig_types[60]#define SWIGTYPE_p_svn_log_changed_path_t swig_types[61]#define SWIGTYPE_p_svn_node_kind_t swig_types[62]#define SWIGTYPE_p_svn_opt_revision_t swig_types[63]#define SWIGTYPE_p_svn_opt_revision_value_t swig_types[64]#define SWIGTYPE_p_svn_opt_subcommand_desc2_t swig_types[65]#define SWIGTYPE_p_svn_opt_subcommand_desc_t swig_types[66]#define SWIGTYPE_p_svn_prop_kind swig_types[67]#define SWIGTYPE_p_svn_prop_t swig_types[68]#define SWIGTYPE_p_svn_ra_callbacks2_t swig_types[69]#define SWIGTYPE_p_svn_ra_callbacks_t swig_types[70]#define SWIGTYPE_p_svn_ra_plugin_t swig_types[71]#define SWIGTYPE_p_svn_ra_reporter2_t swig_types[72]#define SWIGTYPE_p_svn_ra_reporter_t swig_types[73]#define SWIGTYPE_p_svn_ra_session_t swig_types[74]#define SWIGTYPE_p_svn_stream_t swig_types[75]#define SWIGTYPE_p_svn_string_t swig_types[76]#define SWIGTYPE_p_svn_stringbuf_t swig_types[77]#define SWIGTYPE_p_svn_txdelta_op_t swig_types[78]#define SWIGTYPE_p_svn_txdelta_stream_t swig_types[79]#define SWIGTYPE_p_svn_txdelta_window_t swig_types[80]#define SWIGTYPE_p_svn_version_checklist_t swig_types[81]#define SWIGTYPE_p_svn_version_t swig_types[82]#define SWIGTYPE_p_svn_wc_adm_access_t swig_types[83]#define SWIGTYPE_p_svn_wc_diff_callbacks2_t swig_types[84]#define SWIGTYPE_p_svn_wc_diff_callbacks_t swig_types[85]#define SWIGTYPE_p_svn_wc_entry_callbacks_t swig_types[86]#define SWIGTYPE_p_svn_wc_entry_t swig_types[87]#define SWIGTYPE_p_svn_wc_external_item_t swig_types[88]#define SWIGTYPE_p_svn_wc_merge_outcome_t swig_types[89]#define SWIGTYPE_p_svn_wc_notify_action_t swig_types[90]#define SWIGTYPE_p_svn_wc_notify_lock_state_t swig_types[91]#define SWIGTYPE_p_svn_wc_notify_state_t swig_types[92]#define SWIGTYPE_p_svn_wc_notify_t swig_types[93]#define SWIGTYPE_p_svn_wc_revision_status_t swig_types[94]#define SWIGTYPE_p_svn_wc_schedule_t swig_types[95]#define SWIGTYPE_p_svn_wc_status2_t swig_types[96]#define SWIGTYPE_p_svn_wc_status_t swig_types[97]#define SWIGTYPE_p_svn_wc_traversal_info_t swig_types[98]#define SWIGTYPE_p_unsigned_char swig_types[99]#define SWIGTYPE_p_unsigned_long swig_types[100]#define SWIGTYPE_p_void swig_types[101]static swig_type_info *swig_types[102];static swig_module_info swig_module = {swig_types, 102, 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_wc#define SWIG_name    "Svn::Ext::Wc"static VALUE mWc;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"#include "svn_md5.h"#ifdef SWIGPYTHON#include "swigutil_py.h"#endif#ifdef SWIGPERL#include "swigutil_pl.h"#endif#ifdef SWIGRUBY#include "swigutil_rb.h"#endif#include "svn_wc.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 svn_error_t *svn_wc_diff_callbacks2_invoke_file_changed(  svn_wc_diff_callbacks2_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *contentstate, svn_wc_notify_state_t *propstate, const char *path, const char *tmpfile1, const char *tmpfile2, svn_revnum_t rev1, svn_revnum_t rev2, const char *mimetype1, const char *mimetype2, const apr_array_header_t *propchanges, apr_hash_t *originalprops, void *diff_baton) {  return _obj->file_changed(adm_access, contentstate, propstate, path, tmpfile1, tmpfile2, rev1, rev2, mimetype1, mimetype2, propchanges, originalprops, diff_baton);}static svn_error_t *svn_wc_diff_callbacks2_invoke_file_added(  svn_wc_diff_callbacks2_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *contentstate, svn_wc_notify_state_t *propstate, const char *path, const char *tmpfile1, const char *tmpfile2, svn_revnum_t rev1, svn_revnum_t rev2, const char *mimetype1, const char *mimetype2, const apr_array_header_t *propchanges, apr_hash_t *originalprops, void *diff_baton) {  return _obj->file_added(adm_access, contentstate, propstate, path, tmpfile1, tmpfile2, rev1, rev2, mimetype1, mimetype2, propchanges, originalprops, diff_baton);}static svn_error_t *svn_wc_diff_callbacks2_invoke_file_deleted(  svn_wc_diff_callbacks2_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, const char *tmpfile1, const char *tmpfile2, const char *mimetype1, const char *mimetype2, apr_hash_t *originalprops, void *diff_baton) {  return _obj->file_deleted(adm_access, state, path, tmpfile1, tmpfile2, mimetype1, mimetype2, originalprops, diff_baton);}static svn_error_t *svn_wc_diff_callbacks2_invoke_dir_added(  svn_wc_diff_callbacks2_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, svn_revnum_t rev, void *diff_baton) {  return _obj->dir_added(adm_access, state, path, rev, diff_baton);}static svn_error_t *svn_wc_diff_callbacks2_invoke_dir_deleted(  svn_wc_diff_callbacks2_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, void *diff_baton) {  return _obj->dir_deleted(adm_access, state, path, diff_baton);}static svn_error_t *svn_wc_diff_callbacks2_invoke_dir_props_changed(  svn_wc_diff_callbacks2_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, const apr_array_header_t *propchanges, apr_hash_t *original_props, void *diff_baton) {  return _obj->dir_props_changed(adm_access, state, path, propchanges, original_props, diff_baton);}static svn_error_t *svn_wc_diff_callbacks_invoke_file_changed(  svn_wc_diff_callbacks_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, const char *tmpfile1, const char *tmpfile2, svn_revnum_t rev1, svn_revnum_t rev2, const char *mimetype1, const char *mimetype2, void *diff_baton) {  return _obj->file_changed(adm_access, state, path, tmpfile1, tmpfile2, rev1, rev2, mimetype1, mimetype2, diff_baton);}static svn_error_t *svn_wc_diff_callbacks_invoke_file_added(  svn_wc_diff_callbacks_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, const char *tmpfile1, const char *tmpfile2, svn_revnum_t rev1, svn_revnum_t rev2, const char *mimetype1, const char *mimetype2, void *diff_baton) {  return _obj->file_added(adm_access, state, path, tmpfile1, tmpfile2, rev1, rev2, mimetype1, mimetype2, diff_baton);}static svn_error_t *svn_wc_diff_callbacks_invoke_file_deleted(  svn_wc_diff_callbacks_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, const char *tmpfile1, const char *tmpfile2, const char *mimetype1, const char *mimetype2, void *diff_baton) {  return _obj->file_deleted(adm_access, state, path, tmpfile1, tmpfile2, mimetype1, mimetype2, diff_baton);}static svn_error_t *svn_wc_diff_callbacks_invoke_dir_added(  svn_wc_diff_callbacks_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, svn_revnum_t rev, void *diff_baton) {  return _obj->dir_added(adm_access, state, path, rev, diff_baton);}static svn_error_t *svn_wc_diff_callbacks_invoke_dir_deleted(  svn_wc_diff_callbacks_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, void *diff_baton) {  return _obj->dir_deleted(adm_access, state, path, diff_baton);}static svn_error_t *svn_wc_diff_callbacks_invoke_props_changed(  svn_wc_diff_callbacks_t *_obj, svn_wc_adm_access_t *adm_access, svn_wc_notify_state_t *state, const char *path, const apr_array_header_t *propchanges, apr_hash_t *original_props, void *diff_baton) {  return _obj->props_changed(adm_access, state, path, propchanges, original_props, diff_baton);}static svn_error_t *svn_wc_entry_callbacks_invoke_found_entry(  svn_wc_entry_callbacks_t *_obj, const char *path, const svn_wc_entry_t *entry, void *walk_baton, apr_pool_t *pool) {  return _obj->found_entry(path, entry, walk_baton, pool);}static svn_error_t *svn_wc_swig_init_asp_dot_net_hack (apr_pool_t *pool){#if defined(WIN32) || defined(__CYGWIN__)  if (getenv ("SVN_ASP_DOT_NET_HACK"))    SVN_ERR (svn_wc_set_adm_dir("_svn", pool));#endif /* WIN32 */  return SVN_NO_ERROR;}static VALUE_wrap_svn_wc_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_wc_version();                                    }    vresult = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_svn_version_t,0);    return vresult;}static VALUE_wrap_svn_wc_adm_open3(int argc, VALUE *argv, VALUE self) {    svn_wc_adm_access_t **arg1 = (svn_wc_adm_access_t **) 0 ;    svn_wc_adm_access_t *arg2 = (svn_wc_adm_access_t *) 0 ;    char *arg3 = (char *) 0 ;    svn_boolean_t arg4 ;    int arg5 ;    svn_cancel_func_t arg6 = (svn_cancel_func_t) 0 ;    void *arg7 = (void *) 0 ;    apr_pool_t *arg8 = (apr_pool_t *) 0 ;    svn_error_t *result;    VALUE _global_svn_swig_rb_pool ;    apr_pool_t *_global_pool ;    svn_wc_adm_access_t *temp1 ;    void *temp2 ;    VALUE vresult = Qnil;        {        svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);        _global_pool = arg8;        svn_swig_rb_push_pool(_global_svn_swig_rb_pool);    }    {        temp1 = NULL;        arg1 = (svn_wc_adm_access_t **)&temp1;    }    if ((argc < 5) || (argc > 6))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc);    {        SWIG_ConvertPtr(argv[0], &temp2, SWIGTYPE_p_svn_wc_adm_access_t, 1);                                arg2 = (svn_wc_adm_access_t *)temp2;    }    arg3 = StringValuePtr(argv[1]);    arg4 = RTEST(argv[2]);    arg5 = NUM2INT(argv[3]);    {        arg6 = svn_swig_rb_cancel_func;        arg7 = (void *)svn_swig_rb_make_baton(argv[4], _global_svn_swig_rb_pool);    }    if (argc > 5) {            }    {        result = (svn_error_t *)svn_wc_adm_open3(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);                                    }    {        if (result) {            svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);            svn_swig_rb_handle_svn_error(result);        }        vresult = Qnil;    }    {        vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_wc_adm_access_t, 0));    }    {        svn_swig_rb_set_baton(vresult, (VALUE)arg7);    }    {        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_wc_adm_open2(int argc, VALUE *argv, VALUE self) {    svn_wc_adm_access_t **arg1 = (svn_wc_adm_access_t **) 0 ;    svn_wc_adm_access_t *arg2 = (svn_wc_adm_access_t *) 0 ;    char *arg3 = (char *) 0 ;    svn_boolean_t arg4 ;    int arg5 ;    apr_pool_t *arg6 = (apr_pool_t *) 0 ;    svn_error_t *result;    VALUE _global_svn_swig_rb_pool ;    apr_pool_t *_global_pool ;    svn_wc_adm_access_t *temp1 ;    void *temp2 ;    VALUE vresult = Qnil;        {        svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);        _global_pool = arg6;        svn_swig_rb_push_pool(_global_svn_swig_rb_pool);    }    {        temp1 = NULL;        arg1 = (svn_wc_adm_access_t **)&temp1;    }    if ((argc < 4) || (argc > 5))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);    {        SWIG_ConvertPtr(argv[0], &temp2, SWIGTYPE_p_svn_wc_adm_access_t, 1);                                arg2 = (svn_wc_adm_access_t *)temp2;    }    arg3 = StringValuePtr(argv[1]);    arg4 = RTEST(argv[2]);    arg5 = NUM2INT(argv[3]);    if (argc > 4) {            }    {        result = (svn_error_t *)svn_wc_adm_open2(arg1,arg2,(char const *)arg3,arg4,arg5,arg6);                                    }    {        if (result) {            svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);            svn_swig_rb_handle_svn_error(result);        }        vresult = Qnil;    }    {        vresult = output_helper(vresult, SWIG_NewPointerObj(*arg1, SWIGTYPE_p_svn_wc_adm_access_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_wc_adm_open(int argc, VALUE *argv, VALUE self) {    svn_wc_adm_access_t **arg1 = (svn_wc_adm_access_t **) 0 ;    svn_wc_adm_access_t *arg2 = (svn_wc_adm_access_t *) 0 ;    char *arg3 = (char *) 0 ;    svn_boolean_t arg4 ;    svn_boolean_t arg5 ;    apr_pool_t *arg6 = (apr_pool_t *) 0 ;    svn_error_t *result;    VALUE _global_svn_swig_rb_pool ;    apr_pool_t *_global_pool ;    svn_wc_adm_access_t *temp1 ;    void *temp2 ;    VALUE vresult = Qnil;        {        svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg6);        _global_pool = arg6;        svn_swig_rb_push_pool(_global_svn_swig_rb_pool);    }    {        temp1 = NULL;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -