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

📄 svn_repos.c

📁 subversion-1.4.5.tar.gz 配置svn的源码
💻 C
📖 第 1 页 / 共 5 页
字号:
        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_start_commit_hook(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_start_commit_hook(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_pre_commit_hook(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_pre_commit_hook(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_post_commit_hook(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_post_commit_hook(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_pre_revprop_change_hook(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_pre_revprop_change_hook(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_post_revprop_change_hook(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_post_revprop_change_hook(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_pre_lock_hook(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_pre_lock_hook(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_post_lock_hook(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_post_lock_hook(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_pre_unlock_hook(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_pre_unlock_hook(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_post_unlock_hook(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_post_unlock_hook(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_begin_report(int argc, VALUE *argv, VALUE self) {    void **arg1 = (void **) 0 ;    svn_revnum_t arg2 ;    char *arg3 = (char *) 0 ;    svn_repos_t *arg4 = (svn_repos_t *) 0 ;    char *arg5 = (char *) 0 ;    char *arg6 = (char *) 0 ;    char *arg7 = (char *) 0 ;    svn_boolean_t arg8 ;    svn_boolean_t arg9 ;    svn_boolean_t arg10 ;    svn_delta_editor_t *arg11 = (svn_delta_editor_t *) 0 ;    void *arg12 = (void *) 0 ;    svn_repos_authz_func_t arg13 = (svn_repos_authz_func_t) 0 ;    void *

⌨️ 快捷键说明

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