Alien-SVN

 view release on metacpan or  search on metacpan

src/subversion/subversion/bindings/swig/perl/native/core.c  view on Meta::CPAN

    if ((items < 2) || (items > 3)) {
      SWIG_croak("Usage: svn_path_resolve_repos_relative_url(relative_url,repos_root_url,pool);");
    }
    res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_path_resolve_repos_relative_url" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = (char *)(buf2);
    res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_path_resolve_repos_relative_url" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    if (items > 2) {
      
    }
    {
      result = (svn_error_t *)svn_path_resolve_repos_relative_url((char const **)arg1,(char const *)arg2,(char const *)arg3,arg4);
      
      
      
    }
    {
      if (result) {
        SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
        
        if (SvOK(exception_handler)) {
          SV *callback_result;
          
          svn_swig_pl_callback_thunk (CALL_SV, exception_handler,
            &callback_result, "S", result,
            SWIGTYPE_p_svn_error_t);
        } else {
          ST(argvi) = SWIG_NewPointerObj(result, SWIGTYPE_p_svn_error_t, 0);
          argvi++;
        }
      }
    }
    {
      if (*arg1 == NULL) {
        if (argvi >= items) EXTEND(sp,1);  ST(argvi) = &PL_sv_undef; argvi++  ;
      } else {
        if (argvi >= items) EXTEND(sp,1);  ST(argvi) = sv_2mortal(newSVpv(*arg1, 0)); argvi++  ;
      }
    }
    
    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    
    XSRETURN(argvi);
  fail:
    
    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_path_illegal_path_escape) {
  {
    char *arg1 = (char *) 0 ;
    apr_pool_t *arg2 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    int res1 ;
    char *buf1 = 0 ;
    int alloc1 = 0 ;
    int argvi = 0;
    char *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
    }
    if ((items < 1) || (items > 2)) {
      SWIG_croak("Usage: svn_path_illegal_path_escape(path,pool);");
    }
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_path_illegal_path_escape" "', argument " "1"" of type '" "char const *""'");
    }
    arg1 = (char *)(buf1);
    if (items > 1) {
      
    }
    {
      result = (char *)svn_path_illegal_path_escape((char const *)arg1,arg2);
      
      
      
    }
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    
    XSRETURN(argvi);
  fail:
    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_dirent_internal_style) {
  {
    char *arg1 = (char *) 0 ;
    apr_pool_t *arg2 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    int res1 ;
    char *buf1 = 0 ;
    int alloc1 = 0 ;
    int argvi = 0;
    char *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
    }
    if ((items < 1) || (items > 2)) {
      SWIG_croak("Usage: svn_dirent_internal_style(dirent,result_pool);");
    }
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_dirent_internal_style" "', argument " "1"" of type '" "char const *""'");
    }
    arg1 = (char *)(buf1);
    if (items > 1) {
      
    }
    {
      result = (char *)svn_dirent_internal_style((char const *)arg1,arg2);
      
      
      
    }
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    
    XSRETURN(argvi);
  fail:
    if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    
    SWIG_croak_null();
  }
}


src/subversion/subversion/bindings/swig/perl/native/core.c  view on Meta::CPAN

{"SVN::_Core::svn_config_set", _wrap_svn_config_set},
{"SVN::_Core::svn_config_get_bool", _wrap_svn_config_get_bool},
{"SVN::_Core::svn_config_set_bool", _wrap_svn_config_set_bool},
{"SVN::_Core::svn_config_get_int64", _wrap_svn_config_get_int64},
{"SVN::_Core::svn_config_set_int64", _wrap_svn_config_set_int64},
{"SVN::_Core::svn_config_get_yes_no_ask", _wrap_svn_config_get_yes_no_ask},
{"SVN::_Core::svn_config_get_tristate", _wrap_svn_config_get_tristate},
{"SVN::_Core::svn_config_enumerate_sections", _wrap_svn_config_enumerate_sections},
{"SVN::_Core::svn_config_enumerate_sections2", _wrap_svn_config_enumerate_sections2},
{"SVN::_Core::svn_config_enumerate", _wrap_svn_config_enumerate},
{"SVN::_Core::svn_config_enumerate2", _wrap_svn_config_enumerate2},
{"SVN::_Core::svn_config_has_section", _wrap_svn_config_has_section},
{"SVN::_Core::svn_config_find_group", _wrap_svn_config_find_group},
{"SVN::_Core::svn_config_get_server_setting", _wrap_svn_config_get_server_setting},
{"SVN::_Core::svn_config_get_server_setting_int", _wrap_svn_config_get_server_setting_int},
{"SVN::_Core::svn_config_get_server_setting_bool", _wrap_svn_config_get_server_setting_bool},
{"SVN::_Core::svn_config_ensure", _wrap_svn_config_ensure},
{"SVN::_Core::svn_config_read_auth_data", _wrap_svn_config_read_auth_data},
{"SVN::_Core::svn_config_write_auth_data", _wrap_svn_config_write_auth_data},
{"SVN::_Core::svn_config_walk_auth_data", _wrap_svn_config_walk_auth_data},
{"SVN::_Core::svn_config_get_user_config_path", _wrap_svn_config_get_user_config_path},
{"SVN::_Core::svn_config_dup", _wrap_svn_config_dup},
{"SVN::_Core::svn_config_copy_config", _wrap_svn_config_copy_config},
{"SVN::_Core::svn_config_invoke_section_enumerator", _wrap_svn_config_invoke_section_enumerator},
{"SVN::_Core::svn_config_invoke_section_enumerator2", _wrap_svn_config_invoke_section_enumerator2},
{"SVN::_Core::svn_config_invoke_enumerator", _wrap_svn_config_invoke_enumerator},
{"SVN::_Core::svn_config_invoke_enumerator2", _wrap_svn_config_invoke_enumerator2},
{"SVN::_Core::svn_config_invoke_auth_walk_func", _wrap_svn_config_invoke_auth_walk_func},
{"SVN::_Core::svn_utf_initialize2", _wrap_svn_utf_initialize2},
{"SVN::_Core::svn_utf_initialize", _wrap_svn_utf_initialize},
{"SVN::_Core::svn_utf_stringbuf_to_utf8", _wrap_svn_utf_stringbuf_to_utf8},
{"SVN::_Core::svn_utf_string_to_utf8", _wrap_svn_utf_string_to_utf8},
{"SVN::_Core::svn_utf_cstring_to_utf8", _wrap_svn_utf_cstring_to_utf8},
{"SVN::_Core::svn_utf_cstring_to_utf8_ex2", _wrap_svn_utf_cstring_to_utf8_ex2},
{"SVN::_Core::svn_utf_cstring_to_utf8_ex", _wrap_svn_utf_cstring_to_utf8_ex},
{"SVN::_Core::svn_utf_stringbuf_from_utf8", _wrap_svn_utf_stringbuf_from_utf8},
{"SVN::_Core::svn_utf_string_from_utf8", _wrap_svn_utf_string_from_utf8},
{"SVN::_Core::svn_utf_cstring_from_utf8", _wrap_svn_utf_cstring_from_utf8},
{"SVN::_Core::svn_utf_cstring_from_utf8_ex2", _wrap_svn_utf_cstring_from_utf8_ex2},
{"SVN::_Core::svn_utf_cstring_from_utf8_ex", _wrap_svn_utf_cstring_from_utf8_ex},
{"SVN::_Core::svn_utf_cstring_from_utf8_fuzzy", _wrap_svn_utf_cstring_from_utf8_fuzzy},
{"SVN::_Core::svn_utf_cstring_from_utf8_stringbuf", _wrap_svn_utf_cstring_from_utf8_stringbuf},
{"SVN::_Core::svn_utf_cstring_from_utf8_string", _wrap_svn_utf_cstring_from_utf8_string},
{"SVN::_Core::svn_utf_cstring_utf8_width", _wrap_svn_utf_cstring_utf8_width},
{"SVN::_Core::svn_nls_init", _wrap_svn_nls_init},
{"SVN::_Core::svn_path_internal_style", _wrap_svn_path_internal_style},
{"SVN::_Core::svn_path_local_style", _wrap_svn_path_local_style},
{"SVN::_Core::svn_path_splitext", _wrap_svn_path_splitext},
{"SVN::_Core::svn_path_is_empty", _wrap_svn_path_is_empty},
{"SVN::_Core::svn_dirent_is_root", _wrap_svn_dirent_is_root},
{"SVN::_Core::svn_path_canonicalize", _wrap_svn_path_canonicalize},
{"SVN::_Core::svn_path_is_canonical", _wrap_svn_path_is_canonical},
{"SVN::_Core::svn_path_compare_paths", _wrap_svn_path_compare_paths},
{"SVN::_Core::svn_path_get_longest_ancestor", _wrap_svn_path_get_longest_ancestor},
{"SVN::_Core::svn_path_is_dotpath_present", _wrap_svn_path_is_dotpath_present},
{"SVN::_Core::svn_path_is_url", _wrap_svn_path_is_url},
{"SVN::_Core::svn_path_is_uri_safe", _wrap_svn_path_is_uri_safe},
{"SVN::_Core::svn_path_url_add_component2", _wrap_svn_path_url_add_component2},
{"SVN::_Core::svn_path_is_repos_relative_url", _wrap_svn_path_is_repos_relative_url},
{"SVN::_Core::svn_path_resolve_repos_relative_url", _wrap_svn_path_resolve_repos_relative_url},
{"SVN::_Core::svn_path_illegal_path_escape", _wrap_svn_path_illegal_path_escape},
{"SVN::_Core::svn_dirent_internal_style", _wrap_svn_dirent_internal_style},
{"SVN::_Core::svn_dirent_local_style", _wrap_svn_dirent_local_style},
{"SVN::_Core::svn_relpath__internal_style", _wrap_svn_relpath__internal_style},
{"SVN::_Core::svn_dirent_join", _wrap_svn_dirent_join},
{"SVN::_Core::svn_relpath_join", _wrap_svn_relpath_join},
{"SVN::_Core::svn_dirent_basename", _wrap_svn_dirent_basename},
{"SVN::_Core::svn_dirent_dirname", _wrap_svn_dirent_dirname},
{"SVN::_Core::svn_dirent_split", _wrap_svn_dirent_split},
{"SVN::_Core::svn_relpath_split", _wrap_svn_relpath_split},
{"SVN::_Core::svn_relpath_basename", _wrap_svn_relpath_basename},
{"SVN::_Core::svn_relpath_dirname", _wrap_svn_relpath_dirname},
{"SVN::_Core::svn_uri_split", _wrap_svn_uri_split},
{"SVN::_Core::svn_uri_basename", _wrap_svn_uri_basename},
{"SVN::_Core::svn_uri_dirname", _wrap_svn_uri_dirname},
{"SVN::_Core::svn_dirent_is_absolute", _wrap_svn_dirent_is_absolute},
{"SVN::_Core::svn_uri_is_root", _wrap_svn_uri_is_root},
{"SVN::_Core::svn_dirent_canonicalize", _wrap_svn_dirent_canonicalize},
{"SVN::_Core::svn_relpath_canonicalize", _wrap_svn_relpath_canonicalize},
{"SVN::_Core::svn_uri_canonicalize", _wrap_svn_uri_canonicalize},
{"SVN::_Core::svn_dirent_is_canonical", _wrap_svn_dirent_is_canonical},
{"SVN::_Core::svn_relpath_is_canonical", _wrap_svn_relpath_is_canonical},
{"SVN::_Core::svn_uri_is_canonical", _wrap_svn_uri_is_canonical},
{"SVN::_Core::svn_dirent_get_longest_ancestor", _wrap_svn_dirent_get_longest_ancestor},
{"SVN::_Core::svn_relpath_get_longest_ancestor", _wrap_svn_relpath_get_longest_ancestor},
{"SVN::_Core::svn_uri_get_longest_ancestor", _wrap_svn_uri_get_longest_ancestor},
{"SVN::_Core::svn_dirent_get_absolute", _wrap_svn_dirent_get_absolute},
{"SVN::_Core::svn_dirent_is_child", _wrap_svn_dirent_is_child},
{"SVN::_Core::svn_dirent_is_ancestor", _wrap_svn_dirent_is_ancestor},
{"SVN::_Core::svn_uri__is_ancestor", _wrap_svn_uri__is_ancestor},
{"SVN::_Core::svn_dirent_skip_ancestor", _wrap_svn_dirent_skip_ancestor},
{"SVN::_Core::svn_relpath_skip_ancestor", _wrap_svn_relpath_skip_ancestor},
{"SVN::_Core::svn_uri_skip_ancestor", _wrap_svn_uri_skip_ancestor},
{"SVN::_Core::svn_uri_get_dirent_from_file_url", _wrap_svn_uri_get_dirent_from_file_url},
{"SVN::_Core::svn_uri_get_file_url_from_dirent", _wrap_svn_uri_get_file_url_from_dirent},
{"SVN::_Core::svn_mergeinfo_parse", _wrap_svn_mergeinfo_parse},
{"SVN::_Core::svn_mergeinfo_diff2", _wrap_svn_mergeinfo_diff2},
{"SVN::_Core::svn_mergeinfo_diff", _wrap_svn_mergeinfo_diff},
{"SVN::_Core::svn_mergeinfo_merge2", _wrap_svn_mergeinfo_merge2},
{"SVN::_Core::svn_mergeinfo_catalog_merge", _wrap_svn_mergeinfo_catalog_merge},
{"SVN::_Core::svn_mergeinfo_remove", _wrap_svn_mergeinfo_remove},
{"SVN::_Core::svn_mergeinfo_remove2", _wrap_svn_mergeinfo_remove2},
{"SVN::_Core::svn_rangelist_diff", _wrap_svn_rangelist_diff},
{"SVN::_Core::svn_rangelist_merge2", _wrap_svn_rangelist_merge2},
{"SVN::_Core::svn_rangelist_remove", _wrap_svn_rangelist_remove},
{"SVN::_Core::svn_mergeinfo_intersect2", _wrap_svn_mergeinfo_intersect2},
{"SVN::_Core::svn_mergeinfo_intersect", _wrap_svn_mergeinfo_intersect},
{"SVN::_Core::svn_rangelist_intersect", _wrap_svn_rangelist_intersect},
{"SVN::_Core::svn_rangelist_to_string", _wrap_svn_rangelist_to_string},
{"SVN::_Core::svn_rangelist_inheritable2", _wrap_svn_rangelist_inheritable2},
{"SVN::_Core::svn_rangelist_inheritable", _wrap_svn_rangelist_inheritable},
{"SVN::_Core::svn_mergeinfo_inheritable2", _wrap_svn_mergeinfo_inheritable2},
{"SVN::_Core::svn_mergeinfo_inheritable", _wrap_svn_mergeinfo_inheritable},
{"SVN::_Core::svn_mergeinfo_to_string", _wrap_svn_mergeinfo_to_string},
{"SVN::_Core::svn_mergeinfo_catalog_dup", _wrap_svn_mergeinfo_catalog_dup},
{"SVN::_Core::svn_mergeinfo_dup", _wrap_svn_mergeinfo_dup},
{"SVN::_Core::svn_rangelist_dup", _wrap_svn_rangelist_dup},
{"SVN::_Core::svn_inheritance_to_word", _wrap_svn_inheritance_to_word},
{"SVN::_Core::svn_inheritance_from_word", _wrap_svn_inheritance_from_word},
{"SVN::_Core::svn_io_dirent2_t_kind_set", _wrap_svn_io_dirent2_t_kind_set},
{"SVN::_Core::svn_io_dirent2_t_kind_get", _wrap_svn_io_dirent2_t_kind_get},



( run in 0.451 second using v1.01-cache-2.11-cpan-5b529ec07f3 )