Alien-SVN

 view release on metacpan or  search on metacpan

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

      result = (char *)svn_repos_pre_unlock_hook(arg1,arg2);
      
      
      
    }
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    
    
    XSRETURN(argvi);
  fail:
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_repos_post_unlock_hook) {
  {
    svn_repos_t *arg1 = (svn_repos_t *) 0 ;
    apr_pool_t *arg2 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    void *argp1 = 0 ;
    int res1 = 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_repos_post_unlock_hook(repos,pool);");
    }
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_repos_t, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_repos_post_unlock_hook" "', argument " "1"" of type '" "svn_repos_t *""'"); 
    }
    arg1 = (svn_repos_t *)(argp1);
    if (items > 1) {
      
    }
    {
      result = (char *)svn_repos_post_unlock_hook(arg1,arg2);
      
      
      
    }
    ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    
    
    XSRETURN(argvi);
  fail:
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_repos_hooks_setenv) {
  {
    svn_repos_t *arg1 = (svn_repos_t *) 0 ;
    char *arg2 = (char *) 0 ;
    apr_pool_t *arg3 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    void *argp1 = 0 ;
    int res1 = 0 ;
    int res2 ;
    char *buf2 = 0 ;
    int alloc2 = 0 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg3 = svn_swig_pl_make_pool (ST(items-1));
    }
    if ((items < 2) || (items > 3)) {
      SWIG_croak("Usage: svn_repos_hooks_setenv(repos,hooks_env_path,scratch_pool);");
    }
    res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_repos_t, 0 |  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_repos_hooks_setenv" "', argument " "1"" of type '" "svn_repos_t *""'"); 
    }
    arg1 = (svn_repos_t *)(argp1);
    res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_repos_hooks_setenv" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = (char *)(buf2);
    if (items > 2) {
      
    }
    {
      result = (svn_error_t *)svn_repos_hooks_setenv(arg1,(char const *)arg2,arg3);
      
      
      
    }
    {
      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 (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    
    XSRETURN(argvi);
  fail:
    
    if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_repos_begin_report3) {
  {
    void **arg1 = (void **) 0 ;
    svn_revnum_t arg2 ;
    svn_repos_t *arg3 = (svn_repos_t *) 0 ;
    char *arg4 = (char *) 0 ;
    char *arg5 = (char *) 0 ;
    char *arg6 = (char *) 0 ;
    svn_boolean_t arg7 ;
    svn_depth_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 *arg14 = (void *) 0 ;
    apr_size_t arg15 ;
    apr_pool_t *arg16 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    void *temp1 ;
    long val2 ;
    int ecode2 = 0 ;
    void *argp3 = 0 ;
    int res3 = 0 ;
    int res4 ;
    char *buf4 = 0 ;
    int alloc4 = 0 ;

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

static swig_variable_info swig_variables[] = {
{0,0,0,0}
};
static swig_command_info swig_commands[] = {
{"SVN::_Repos::svn_repos_version", _wrap_svn_repos_version},
{"SVN::_Repos::svn_repos_notify_t_action_set", _wrap_svn_repos_notify_t_action_set},
{"SVN::_Repos::svn_repos_notify_t_action_get", _wrap_svn_repos_notify_t_action_get},
{"SVN::_Repos::svn_repos_notify_t_revision_set", _wrap_svn_repos_notify_t_revision_set},
{"SVN::_Repos::svn_repos_notify_t_revision_get", _wrap_svn_repos_notify_t_revision_get},
{"SVN::_Repos::svn_repos_notify_t_warning_str_set", _wrap_svn_repos_notify_t_warning_str_set},
{"SVN::_Repos::svn_repos_notify_t_warning_str_get", _wrap_svn_repos_notify_t_warning_str_get},
{"SVN::_Repos::svn_repos_notify_t_warning_set", _wrap_svn_repos_notify_t_warning_set},
{"SVN::_Repos::svn_repos_notify_t_warning_get", _wrap_svn_repos_notify_t_warning_get},
{"SVN::_Repos::svn_repos_notify_t_shard_set", _wrap_svn_repos_notify_t_shard_set},
{"SVN::_Repos::svn_repos_notify_t_shard_get", _wrap_svn_repos_notify_t_shard_get},
{"SVN::_Repos::svn_repos_notify_t_new_revision_set", _wrap_svn_repos_notify_t_new_revision_set},
{"SVN::_Repos::svn_repos_notify_t_new_revision_get", _wrap_svn_repos_notify_t_new_revision_get},
{"SVN::_Repos::svn_repos_notify_t_old_revision_set", _wrap_svn_repos_notify_t_old_revision_set},
{"SVN::_Repos::svn_repos_notify_t_old_revision_get", _wrap_svn_repos_notify_t_old_revision_get},
{"SVN::_Repos::svn_repos_notify_t_node_action_set", _wrap_svn_repos_notify_t_node_action_set},
{"SVN::_Repos::svn_repos_notify_t_node_action_get", _wrap_svn_repos_notify_t_node_action_get},
{"SVN::_Repos::svn_repos_notify_t_path_set", _wrap_svn_repos_notify_t_path_set},
{"SVN::_Repos::svn_repos_notify_t_path_get", _wrap_svn_repos_notify_t_path_get},
{"SVN::_Repos::svn_repos_notify_create", _wrap_svn_repos_notify_create},
{"SVN::_Repos::svn_repos_find_root_path", _wrap_svn_repos_find_root_path},
{"SVN::_Repos::svn_repos_open2", _wrap_svn_repos_open2},
{"SVN::_Repos::svn_repos_open", _wrap_svn_repos_open},
{"SVN::_Repos::svn_repos_create", _wrap_svn_repos_create},
{"SVN::_Repos::svn_repos_upgrade2", _wrap_svn_repos_upgrade2},
{"SVN::_Repos::svn_repos_upgrade", _wrap_svn_repos_upgrade},
{"SVN::_Repos::svn_repos_delete", _wrap_svn_repos_delete},
{"SVN::_Repos::svn_repos_has_capability", _wrap_svn_repos_has_capability},
{"SVN::_Repos::svn_repos_fs", _wrap_svn_repos_fs},
{"SVN::_Repos::svn_repos_hotcopy2", _wrap_svn_repos_hotcopy2},
{"SVN::_Repos::svn_repos_hotcopy", _wrap_svn_repos_hotcopy},
{"SVN::_Repos::svn_repos_fs_pack2", _wrap_svn_repos_fs_pack2},
{"SVN::_Repos::svn_repos_fs_pack", _wrap_svn_repos_fs_pack},
{"SVN::_Repos::svn_repos_recover4", _wrap_svn_repos_recover4},
{"SVN::_Repos::svn_repos_recover3", _wrap_svn_repos_recover3},
{"SVN::_Repos::svn_repos_recover2", _wrap_svn_repos_recover2},
{"SVN::_Repos::svn_repos_recover", _wrap_svn_repos_recover},
{"SVN::_Repos::svn_repos_freeze", _wrap_svn_repos_freeze},
{"SVN::_Repos::svn_repos_db_logfiles", _wrap_svn_repos_db_logfiles},
{"SVN::_Repos::svn_repos_path", _wrap_svn_repos_path},
{"SVN::_Repos::svn_repos_db_env", _wrap_svn_repos_db_env},
{"SVN::_Repos::svn_repos_conf_dir", _wrap_svn_repos_conf_dir},
{"SVN::_Repos::svn_repos_svnserve_conf", _wrap_svn_repos_svnserve_conf},
{"SVN::_Repos::svn_repos_lock_dir", _wrap_svn_repos_lock_dir},
{"SVN::_Repos::svn_repos_db_lockfile", _wrap_svn_repos_db_lockfile},
{"SVN::_Repos::svn_repos_db_logs_lockfile", _wrap_svn_repos_db_logs_lockfile},
{"SVN::_Repos::svn_repos_hook_dir", _wrap_svn_repos_hook_dir},
{"SVN::_Repos::svn_repos_start_commit_hook", _wrap_svn_repos_start_commit_hook},
{"SVN::_Repos::svn_repos_pre_commit_hook", _wrap_svn_repos_pre_commit_hook},
{"SVN::_Repos::svn_repos_post_commit_hook", _wrap_svn_repos_post_commit_hook},
{"SVN::_Repos::svn_repos_pre_revprop_change_hook", _wrap_svn_repos_pre_revprop_change_hook},
{"SVN::_Repos::svn_repos_post_revprop_change_hook", _wrap_svn_repos_post_revprop_change_hook},
{"SVN::_Repos::svn_repos_pre_lock_hook", _wrap_svn_repos_pre_lock_hook},
{"SVN::_Repos::svn_repos_post_lock_hook", _wrap_svn_repos_post_lock_hook},
{"SVN::_Repos::svn_repos_pre_unlock_hook", _wrap_svn_repos_pre_unlock_hook},
{"SVN::_Repos::svn_repos_post_unlock_hook", _wrap_svn_repos_post_unlock_hook},
{"SVN::_Repos::svn_repos_hooks_setenv", _wrap_svn_repos_hooks_setenv},
{"SVN::_Repos::svn_repos_begin_report3", _wrap_svn_repos_begin_report3},
{"SVN::_Repos::svn_repos_begin_report2", _wrap_svn_repos_begin_report2},
{"SVN::_Repos::svn_repos_begin_report", _wrap_svn_repos_begin_report},
{"SVN::_Repos::svn_repos_set_path3", _wrap_svn_repos_set_path3},
{"SVN::_Repos::svn_repos_set_path2", _wrap_svn_repos_set_path2},
{"SVN::_Repos::svn_repos_set_path", _wrap_svn_repos_set_path},
{"SVN::_Repos::svn_repos_link_path3", _wrap_svn_repos_link_path3},
{"SVN::_Repos::svn_repos_link_path2", _wrap_svn_repos_link_path2},
{"SVN::_Repos::svn_repos_link_path", _wrap_svn_repos_link_path},
{"SVN::_Repos::svn_repos_delete_path", _wrap_svn_repos_delete_path},
{"SVN::_Repos::svn_repos_finish_report", _wrap_svn_repos_finish_report},
{"SVN::_Repos::svn_repos_abort_report", _wrap_svn_repos_abort_report},
{"SVN::_Repos::svn_repos_dir_delta2", _wrap_svn_repos_dir_delta2},
{"SVN::_Repos::svn_repos_dir_delta", _wrap_svn_repos_dir_delta},
{"SVN::_Repos::svn_repos_replay2", _wrap_svn_repos_replay2},
{"SVN::_Repos::svn_repos_replay", _wrap_svn_repos_replay},
{"SVN::_Repos::svn_repos_get_commit_editor5", _wrap_svn_repos_get_commit_editor5},
{"SVN::_Repos::svn_repos_get_commit_editor4", _wrap_svn_repos_get_commit_editor4},
{"SVN::_Repos::svn_repos_get_commit_editor3", _wrap_svn_repos_get_commit_editor3},
{"SVN::_Repos::svn_repos_get_commit_editor2", _wrap_svn_repos_get_commit_editor2},
{"SVN::_Repos::svn_repos_get_commit_editor", _wrap_svn_repos_get_commit_editor},
{"SVN::_Repos::svn_repos_dated_revision", _wrap_svn_repos_dated_revision},
{"SVN::_Repos::svn_repos_get_committed_info", _wrap_svn_repos_get_committed_info},
{"SVN::_Repos::svn_repos_stat", _wrap_svn_repos_stat},
{"SVN::_Repos::svn_repos_deleted_rev", _wrap_svn_repos_deleted_rev},
{"SVN::_Repos::svn_repos_history2", _wrap_svn_repos_history2},
{"SVN::_Repos::svn_repos_history", _wrap_svn_repos_history},
{"SVN::_Repos::svn_repos_trace_node_locations", _wrap_svn_repos_trace_node_locations},
{"SVN::_Repos::svn_repos_node_location_segments", _wrap_svn_repos_node_location_segments},
{"SVN::_Repos::svn_repos_get_logs4", _wrap_svn_repos_get_logs4},
{"SVN::_Repos::svn_repos_get_logs3", _wrap_svn_repos_get_logs3},
{"SVN::_Repos::svn_repos_get_logs2", _wrap_svn_repos_get_logs2},
{"SVN::_Repos::svn_repos_get_logs", _wrap_svn_repos_get_logs},
{"SVN::_Repos::svn_repos_fs_get_mergeinfo", _wrap_svn_repos_fs_get_mergeinfo},
{"SVN::_Repos::svn_repos_get_file_revs2", _wrap_svn_repos_get_file_revs2},
{"SVN::_Repos::svn_repos_get_file_revs", _wrap_svn_repos_get_file_revs},
{"SVN::_Repos::svn_repos_fs_commit_txn", _wrap_svn_repos_fs_commit_txn},
{"SVN::_Repos::svn_repos_fs_begin_txn_for_commit2", _wrap_svn_repos_fs_begin_txn_for_commit2},
{"SVN::_Repos::svn_repos_fs_begin_txn_for_commit", _wrap_svn_repos_fs_begin_txn_for_commit},
{"SVN::_Repos::svn_repos_fs_begin_txn_for_update", _wrap_svn_repos_fs_begin_txn_for_update},
{"SVN::_Repos::svn_repos_fs_lock", _wrap_svn_repos_fs_lock},
{"SVN::_Repos::svn_repos_fs_unlock", _wrap_svn_repos_fs_unlock},
{"SVN::_Repos::svn_repos_fs_get_locks2", _wrap_svn_repos_fs_get_locks2},
{"SVN::_Repos::svn_repos_fs_get_locks", _wrap_svn_repos_fs_get_locks},
{"SVN::_Repos::svn_repos_fs_change_rev_prop4", _wrap_svn_repos_fs_change_rev_prop4},
{"SVN::_Repos::svn_repos_fs_change_rev_prop3", _wrap_svn_repos_fs_change_rev_prop3},
{"SVN::_Repos::svn_repos_fs_change_rev_prop2", _wrap_svn_repos_fs_change_rev_prop2},
{"SVN::_Repos::svn_repos_fs_change_rev_prop", _wrap_svn_repos_fs_change_rev_prop},
{"SVN::_Repos::svn_repos_fs_revision_prop", _wrap_svn_repos_fs_revision_prop},
{"SVN::_Repos::svn_repos_fs_revision_proplist", _wrap_svn_repos_fs_revision_proplist},
{"SVN::_Repos::svn_repos_fs_change_node_prop", _wrap_svn_repos_fs_change_node_prop},
{"SVN::_Repos::svn_repos_fs_change_txn_prop", _wrap_svn_repos_fs_change_txn_prop},
{"SVN::_Repos::svn_repos_fs_change_txn_props", _wrap_svn_repos_fs_change_txn_props},
{"SVN::_Repos::svn_repos_node_t_kind_set", _wrap_svn_repos_node_t_kind_set},
{"SVN::_Repos::svn_repos_node_t_kind_get", _wrap_svn_repos_node_t_kind_get},
{"SVN::_Repos::svn_repos_node_t_action_set", _wrap_svn_repos_node_t_action_set},
{"SVN::_Repos::svn_repos_node_t_action_get", _wrap_svn_repos_node_t_action_get},
{"SVN::_Repos::svn_repos_node_t_text_mod_set", _wrap_svn_repos_node_t_text_mod_set},
{"SVN::_Repos::svn_repos_node_t_text_mod_get", _wrap_svn_repos_node_t_text_mod_get},
{"SVN::_Repos::svn_repos_node_t_prop_mod_set", _wrap_svn_repos_node_t_prop_mod_set},



( run in 3.212 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )