DragonNest/Common/SVNLib/doc/structsvn__ra__callbacks2__t.html
2024-12-19 09:48:26 +08:00

267 lines
16 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Subversion: svn_ra_callbacks2_t Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<form action="search.php" method="get">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
</tr>
</table>
</form>
</li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>svn_ra_callbacks2_t Struct Reference</h1><!-- doxytag: class="svn_ra_callbacks2_t" -->A collection of callbacks implemented by libsvn_client which allows an RA layer to "pull" information from the client application, or possibly store information.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structsvn__error__t.html">svn_error_t</a> *(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#885b25e484bc6d99597573cf397fc5a3">open_tmp_file</a> )(apr_file_t **fp, void *callback_baton, apr_pool_t *pool)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open a unique temporary file for writing in the working copy. <a href="#885b25e484bc6d99597573cf397fc5a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8aac4dbf47785db0ee45b063e7d24c0d"></a><!-- doxytag: member="svn_ra_callbacks2_t::auth_baton" ref="8aac4dbf47785db0ee45b063e7d24c0d" args="" -->
<a class="el" href="group__auth__fns.html#ga77a422f326606f52366fb2fb0a43f8d">svn_auth_baton_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#8aac4dbf47785db0ee45b063e7d24c0d">auth_baton</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An authentication baton, created by the application, which is capable of retrieving all known types of credentials. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__ra_8h.html#7e45246f9e0e0771cf32341052920275">svn_ra_get_wc_prop_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#2201deaeed805e764c6ffa3b2b9ab0ea">get_wc_prop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fetch working copy properties. <a href="#2201deaeed805e764c6ffa3b2b9ab0ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__ra_8h.html#fcc7f90103b9f382aac31013ff8ab15b">svn_ra_set_wc_prop_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#be730fbdec7dbbb6876ccff54ba8476b">set_wc_prop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Immediately set new values for working copy properties. <a href="#be730fbdec7dbbb6876ccff54ba8476b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__ra_8h.html#35cbc06754d5250e7ae63c33c833fb5a">svn_ra_push_wc_prop_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#912a3fcdf07cdf5410cff3a174b90a86">push_wc_prop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Schedule new values for working copy properties. <a href="#912a3fcdf07cdf5410cff3a174b90a86"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__ra_8h.html#d75aea6441172c03eabb6e414cd9806a">svn_ra_invalidate_wc_props_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#5fd4de25dc587e8ed6129e163fd66b00">invalidate_wc_props</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Invalidate working copy properties. <a href="#5fd4de25dc587e8ed6129e163fd66b00"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__ra_8h.html#44f6e7f50bf0acdee8ee9bdf1ce984c3">svn_ra_progress_notify_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#4914884faae7089ab5c0d1200569df16">progress_func</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notification callback used for progress information. <a href="#4914884faae7089ab5c0d1200569df16"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#4584695e5d01be63a04d3e01ab1d713e">progress_baton</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notification callback baton, used with progress_func. <a href="#4584695e5d01be63a04d3e01ab1d713e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__types_8h.html#ddaab83431a3d41b6c62e9d501cd5ecc">svn_cancel_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#9599a49fce62a9d3b51a45c9946908d0">cancel_func</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cancelation function. <a href="#9599a49fce62a9d3b51a45c9946908d0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="svn__ra_8h.html#4129e53745805b6c0427e5e4209ffc35">svn_ra_get_client_string_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsvn__ra__callbacks2__t.html#84728cc834176b36a62e3bd82b2601a8">get_client_string</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Client string customization callback function. <a href="#84728cc834176b36a62e3bd82b2601a8"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A collection of callbacks implemented by libsvn_client which allows an RA layer to "pull" information from the client application, or possibly store information.
<p>
libsvn_client passes this vtable to <a class="el" href="svn__ra_8h.html#2543ab564e75c55f801e6ad6dfbf1f7d" title="Open a repository session to repos_URL.">svn_ra_open3()</a>.<p>
Each routine takes a <em>callback_baton</em> originally provided with the vtable.<p>
Clients must use <a class="el" href="svn__ra_8h.html#f7b12897be1a0e7d380a114b954799cf" title="Initialize a callback structure.">svn_ra_create_callbacks()</a> to allocate and initialize this structure.<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>New in 1.3. </dd></dl>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00448">448</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="885b25e484bc6d99597573cf397fc5a3"></a><!-- doxytag: member="svn_ra_callbacks2_t::open_tmp_file" ref="885b25e484bc6d99597573cf397fc5a3" args=")(apr_file_t **fp, void *callback_baton, apr_pool_t *pool)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structsvn__error__t.html">svn_error_t</a>*(* <a class="el" href="structsvn__ra__callbacks2__t.html#885b25e484bc6d99597573cf397fc5a3">svn_ra_callbacks2_t::open_tmp_file</a>)(apr_file_t **fp, void *callback_baton, apr_pool_t *pool) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Open a unique temporary file for writing in the working copy.
<p>
This file will be automatically deleted when <em>fp</em> is closed.
</div>
</div><p>
<a class="anchor" name="2201deaeed805e764c6ffa3b2b9ab0ea"></a><!-- doxytag: member="svn_ra_callbacks2_t::get_wc_prop" ref="2201deaeed805e764c6ffa3b2b9ab0ea" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__ra_8h.html#7e45246f9e0e0771cf32341052920275">svn_ra_get_wc_prop_func_t</a> <a class="el" href="structsvn__ra__callbacks2__t.html#2201deaeed805e764c6ffa3b2b9ab0ea">svn_ra_callbacks2_t::get_wc_prop</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Fetch working copy properties.
<p>
<pre> ### we might have a problem if the RA layer ever wants a property
### that corresponds to a different revision of the file than
### what is in the WC. we'll cross that bridge one day...</pre>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00475">475</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="be730fbdec7dbbb6876ccff54ba8476b"></a><!-- doxytag: member="svn_ra_callbacks2_t::set_wc_prop" ref="be730fbdec7dbbb6876ccff54ba8476b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__ra_8h.html#fcc7f90103b9f382aac31013ff8ab15b">svn_ra_set_wc_prop_func_t</a> <a class="el" href="structsvn__ra__callbacks2__t.html#be730fbdec7dbbb6876ccff54ba8476b">svn_ra_callbacks2_t::set_wc_prop</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Immediately set new values for working copy properties.
<p>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00478">478</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="912a3fcdf07cdf5410cff3a174b90a86"></a><!-- doxytag: member="svn_ra_callbacks2_t::push_wc_prop" ref="912a3fcdf07cdf5410cff3a174b90a86" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__ra_8h.html#35cbc06754d5250e7ae63c33c833fb5a">svn_ra_push_wc_prop_func_t</a> <a class="el" href="structsvn__ra__callbacks2__t.html#912a3fcdf07cdf5410cff3a174b90a86">svn_ra_callbacks2_t::push_wc_prop</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Schedule new values for working copy properties.
<p>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00481">481</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="5fd4de25dc587e8ed6129e163fd66b00"></a><!-- doxytag: member="svn_ra_callbacks2_t::invalidate_wc_props" ref="5fd4de25dc587e8ed6129e163fd66b00" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__ra_8h.html#d75aea6441172c03eabb6e414cd9806a">svn_ra_invalidate_wc_props_func_t</a> <a class="el" href="structsvn__ra__callbacks2__t.html#5fd4de25dc587e8ed6129e163fd66b00">svn_ra_callbacks2_t::invalidate_wc_props</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalidate working copy properties.
<p>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00484">484</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="4914884faae7089ab5c0d1200569df16"></a><!-- doxytag: member="svn_ra_callbacks2_t::progress_func" ref="4914884faae7089ab5c0d1200569df16" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__ra_8h.html#44f6e7f50bf0acdee8ee9bdf1ce984c3">svn_ra_progress_notify_func_t</a> <a class="el" href="structsvn__ra__callbacks2__t.html#4914884faae7089ab5c0d1200569df16">svn_ra_callbacks2_t::progress_func</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Notification callback used for progress information.
<p>
May be NULL if not used.
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00489">489</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="4584695e5d01be63a04d3e01ab1d713e"></a><!-- doxytag: member="svn_ra_callbacks2_t::progress_baton" ref="4584695e5d01be63a04d3e01ab1d713e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="structsvn__ra__callbacks2__t.html#4584695e5d01be63a04d3e01ab1d713e">svn_ra_callbacks2_t::progress_baton</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Notification callback baton, used with progress_func.
<p>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00492">492</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="9599a49fce62a9d3b51a45c9946908d0"></a><!-- doxytag: member="svn_ra_callbacks2_t::cancel_func" ref="9599a49fce62a9d3b51a45c9946908d0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__types_8h.html#ddaab83431a3d41b6c62e9d501cd5ecc">svn_cancel_func_t</a> <a class="el" href="structsvn__ra__callbacks2__t.html#9599a49fce62a9d3b51a45c9946908d0">svn_ra_callbacks2_t::cancel_func</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cancelation function.
<p>
As its baton, the general callback baton is used<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>New in 1.5 </dd></dl>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00500">500</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="84728cc834176b36a62e3bd82b2601a8"></a><!-- doxytag: member="svn_ra_callbacks2_t::get_client_string" ref="84728cc834176b36a62e3bd82b2601a8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="svn__ra_8h.html#4129e53745805b6c0427e5e4209ffc35">svn_ra_get_client_string_func_t</a> <a class="el" href="structsvn__ra__callbacks2__t.html#84728cc834176b36a62e3bd82b2601a8">svn_ra_callbacks2_t::get_client_string</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Client string customization callback function.
<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd>New in 1.5 </dd></dl>
<p>Definition at line <a class="el" href="svn__ra_8h-source.html#l00505">505</a> of file <a class="el" href="svn__ra_8h-source.html">svn_ra.h</a>.</p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="svn__ra_8h-source.html">svn_ra.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Oct 24 16:18:30 2008 for Subversion by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>