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

📄 svn_repos.c

📁 subversion-1.4.5.tar.gz 配置svn的源码
💻 C
📖 第 1 页 / 共 5 页
字号:
    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);    }    if ((argc < 4) || (argc > 5))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc);    arg1 = StringValuePtr(argv[0]);    arg2 = RTEST(argv[1]);    {        SWIG_ConvertPtr(argv[2], &temp3, SWIGTYPE_p_f_p_void__p_svn_error_t, 1);                                arg3 = (svn_error_t *(*)(void *))temp3;    }    SWIG_ConvertPtr(argv[3], (void **) &arg4, 0, 1);    if (argc > 4) {            }    {        result = (svn_error_t *)svn_repos_recover2((char const *)arg1,arg2,arg3,arg4,arg5);                                    }    {        if (result) {            svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);            svn_swig_rb_handle_svn_error(result);        }        vresult = Qnil;    }    {        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_repos_db_logfiles(int argc, VALUE *argv, VALUE self) {    apr_array_header_t **arg1 = (apr_array_header_t **) 0 ;    char *arg2 = (char *) 0 ;    svn_boolean_t arg3 ;    apr_pool_t *arg4 = (apr_pool_t *) 0 ;    svn_error_t *result;    VALUE _global_svn_swig_rb_pool ;    apr_pool_t *_global_pool ;    apr_array_header_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);    }    {        arg1 = &temp1;    }    if ((argc < 2) || (argc > 3))    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc);    arg2 = StringValuePtr(argv[0]);    arg3 = RTEST(argv[1]);    if (argc > 2) {            }    {        result = (svn_error_t *)svn_repos_db_logfiles(arg1,(char const *)arg2,arg3,arg4);                                    }    {        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, svn_swig_rb_apr_array_to_array_string(*arg1));    }    {        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_repos_path(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_path(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        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_repos_db_env(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_db_env(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        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_repos_conf_dir(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_conf_dir(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        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_repos_svnserve_conf(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_svnserve_conf(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        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_repos_lock_dir(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_lock_dir(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        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_repos_db_lockfile(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_db_lockfile(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        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_repos_db_logs_lockfile(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_db_logs_lockfile(arg1,arg2);                                    }    {        if (result) {            vresult = rb_str_new2(result);        } else {            vresult = Qnil;        }    }    {        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_repos_hook_dir(int argc, VALUE *argv, VALUE self) {    svn_repos_t *arg1 = (svn_repos_t *) 0 ;    apr_pool_t *arg2 = (apr_pool_t *) 0 ;    char *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_repos_t, 1);                                arg1 = (svn_repos_t *)temp1;    }    if (argc > 1) {            }    {        result = (char *)svn_repos_hook_dir(arg1,arg2);                                    }    {

⌨️ 快捷键说明

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