summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2007-09-10 21:30:37 +0000
committerAlexandra Ellwood <lxs@mit.edu>2007-09-10 21:30:37 +0000
commit58e67b6118a87b48b0edfb65250af6d7ab647ffb (patch)
treee9a8ce9421b27e85fd33cfaf3d44211eb59150a7
parent4182dad8cdb97b033d4e97a7a213e65a8ca04088 (diff)
downloadkrb5-58e67b6118a87b48b0edfb65250af6d7ab647ffb.tar.gz
krb5-58e67b6118a87b48b0edfb65250af6d7ab647ffb.tar.xz
krb5-58e67b6118a87b48b0edfb65250af6d7ab647ffb.zip
Fixed macro for cc_ccache_unlock and updated documentation
ticket: 4644 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19930 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--doc/ccapi/html/group__cc__ccache__iterator__reference.html2
-rw-r--r--doc/ccapi/html/group__cc__ccache__reference.html2
-rw-r--r--doc/ccapi/html/group__cc__context__reference.html2
-rw-r--r--doc/ccapi/html/group__cc__credentials__iterator__reference.html2
-rw-r--r--doc/ccapi/html/group__cc__credentials__reference.html2
-rw-r--r--doc/ccapi/html/group__cc__string__reference.html2
-rw-r--r--doc/ccapi/html/group__ccapi__constants__reference.html2
-rw-r--r--doc/ccapi/html/group__ccapi__types__reference.html2
-rw-r--r--doc/ccapi/html/group__helper__macros.html13
-rw-r--r--doc/ccapi/html/index.html2
-rw-r--r--doc/ccapi/html/structcc__ccache__d.html2
-rw-r--r--doc/ccapi/html/structcc__ccache__f.html10
-rw-r--r--doc/ccapi/html/structcc__ccache__iterator__d.html2
-rw-r--r--doc/ccapi/html/structcc__ccache__iterator__f.html2
-rw-r--r--doc/ccapi/html/structcc__context__d.html2
-rw-r--r--doc/ccapi/html/structcc__context__f.html2
-rw-r--r--doc/ccapi/html/structcc__credentials__d.html2
-rw-r--r--doc/ccapi/html/structcc__credentials__f.html2
-rw-r--r--doc/ccapi/html/structcc__credentials__iterator__d.html2
-rw-r--r--doc/ccapi/html/structcc__credentials__iterator__f.html2
-rw-r--r--doc/ccapi/html/structcc__credentials__union.html2
-rw-r--r--doc/ccapi/html/structcc__credentials__v4__t.html2
-rw-r--r--doc/ccapi/html/structcc__credentials__v5__t.html2
-rw-r--r--doc/ccapi/html/structcc__data.html2
-rw-r--r--doc/ccapi/html/structcc__string__d.html2
-rw-r--r--doc/ccapi/html/structcc__string__f.html2
-rw-r--r--src/include/CredentialsCache.h4
27 files changed, 36 insertions, 39 deletions
diff --git a/doc/ccapi/html/group__cc__ccache__iterator__reference.html b/doc/ccapi/html/group__cc__ccache__iterator__reference.html
index 3af31e603..c01b39e3a 100644
--- a/doc/ccapi/html/group__cc__ccache__iterator__reference.html
+++ b/doc/ccapi/html/group__cc__ccache__iterator__reference.html
@@ -68,7 +68,7 @@ For API function documentation see <a class="el" href="structcc__ccache__iterato
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__cc__ccache__reference.html b/doc/ccapi/html/group__cc__ccache__reference.html
index 952f0eb23..40764ed90 100644
--- a/doc/ccapi/html/group__cc__ccache__reference.html
+++ b/doc/ccapi/html/group__cc__ccache__reference.html
@@ -67,7 +67,7 @@ For API function documentation see <a class="el" href="structcc__ccache__f.html"
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__cc__context__reference.html b/doc/ccapi/html/group__cc__context__reference.html
index 2d285ed31..3465ca216 100644
--- a/doc/ccapi/html/group__cc__context__reference.html
+++ b/doc/ccapi/html/group__cc__context__reference.html
@@ -124,7 +124,7 @@ Initialize a new cc_context.
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__cc__credentials__iterator__reference.html b/doc/ccapi/html/group__cc__credentials__iterator__reference.html
index f27c141fb..3ed6b68c8 100644
--- a/doc/ccapi/html/group__cc__credentials__iterator__reference.html
+++ b/doc/ccapi/html/group__cc__credentials__iterator__reference.html
@@ -97,7 +97,7 @@ For API function documentation see <a class="el" href="structcc__credentials__it
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__cc__credentials__reference.html b/doc/ccapi/html/group__cc__credentials__reference.html
index dbb6eb721..90376def1 100644
--- a/doc/ccapi/html/group__cc__credentials__reference.html
+++ b/doc/ccapi/html/group__cc__credentials__reference.html
@@ -140,7 +140,7 @@ For API functions see <a class="el" href="structcc__credentials__f.html">cc_cred
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__cc__string__reference.html b/doc/ccapi/html/group__cc__string__reference.html
index 7af692b25..4a17dde2d 100644
--- a/doc/ccapi/html/group__cc__string__reference.html
+++ b/doc/ccapi/html/group__cc__string__reference.html
@@ -67,7 +67,7 @@ For API function documentation see <a class="el" href="structcc__string__f.html"
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__ccapi__constants__reference.html b/doc/ccapi/html/group__ccapi__constants__reference.html
index ab06bb012..84cc317f1 100644
--- a/doc/ccapi/html/group__ccapi__constants__reference.html
+++ b/doc/ccapi/html/group__ccapi__constants__reference.html
@@ -344,7 +344,7 @@ String to key type (Kerberos v4 only) <dl compact><dt><b>Enumerator: </b></dt><d
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__ccapi__types__reference.html b/doc/ccapi/html/group__ccapi__types__reference.html
index f3b8272d1..a9da54d21 100644
--- a/doc/ccapi/html/group__ccapi__types__reference.html
+++ b/doc/ccapi/html/group__ccapi__types__reference.html
@@ -91,7 +91,7 @@ Signed 64-bit integer type
The cc_time_t type is used to represent a time in seconds. The time must be stored as the number of seconds since midnight GMT on January 1, 1970.
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/group__helper__macros.html b/doc/ccapi/html/group__helper__macros.html
index add1dab6a..30f19568c 100644
--- a/doc/ccapi/html/group__helper__macros.html
+++ b/doc/ccapi/html/group__helper__macros.html
@@ -33,7 +33,7 @@
<li>#define <a class="el" href="group__helper__macros.html#ga1bbc05414ad4c17cea9cd5e5c50c7cc">cc_ccache_remove_credentials</a>(ccache, credentials)&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; remove_credentials (ccache, credentials))
<li>#define <a class="el" href="group__helper__macros.html#g893b31c419e71c2f528781d3036fa3ff">cc_ccache_new_credentials_iterator</a>(ccache, iterator)&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; new_credentials_iterator (ccache, iterator))
<li>#define <a class="el" href="group__helper__macros.html#gb8c2624719ee1c4be5f1b1bc4844f0cc">cc_ccache_lock</a>(ccache, type, block)&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; lock (ccache, type, block))
-<li>#define <a class="el" href="group__helper__macros.html#gc98101af7822d1c3d5612723140ea960">cc_ccache_unlock</a>(ccache, unlock)&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; unlock (ccache, unlock))
+<li>#define <a class="el" href="group__helper__macros.html#ge9b13c950cb6ee636c4a73d6c569a811">cc_ccache_unlock</a>(ccache)&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; unlock (ccache))
<li>#define <a class="el" href="group__helper__macros.html#g884b0c60718fa1057574a3cd844e96ee">cc_ccache_get_last_default_time</a>(ccache, last_default_time)&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; get_last_default_time (ccache, last_default_time))
<li>#define <a class="el" href="group__helper__macros.html#gb19ef7d2b1bcfb474e18e157fb3bc9c6">cc_ccache_get_change_time</a>(ccache, change_time)&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; get_change_time (ccache, change_time))
<li>#define <a class="el" href="group__helper__macros.html#ge1238f80c37ae89486f2ba29bcbcae38">cc_ccache_move</a>(source, destination)&nbsp;&nbsp;&nbsp;((source) -&gt; functions -&gt; move (source, destination))
@@ -626,20 +626,17 @@ Helper macro for <a class="el" href="structcc__ccache__f.html">cc_ccache_f</a> n
Helper macro for <a class="el" href="structcc__ccache__f.html">cc_ccache_f</a> lock()
</div>
</div><p>
-<a class="anchor" name="gc98101af7822d1c3d5612723140ea960"></a><!-- doxytag: member="CredentialsCache.h::cc_ccache_unlock" ref="gc98101af7822d1c3d5612723140ea960" args="(ccache, unlock)" -->
+<a class="anchor" name="ge9b13c950cb6ee636c4a73d6c569a811"></a><!-- doxytag: member="CredentialsCache.h::cc_ccache_unlock" ref="ge9b13c950cb6ee636c4a73d6c569a811" args="(ccache)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define cc_ccache_unlock </td>
<td>(</td>
- <td class="paramtype">ccache, <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">unlock&nbsp;</td>
+ <td class="paramtype">ccache&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
- <td width="100%">&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; unlock (ccache, unlock))</td>
+ <td width="100%">&nbsp;&nbsp;&nbsp;((ccache) -&gt; functions -&gt; unlock (ccache))</td>
</tr>
</table>
</div>
@@ -1037,7 +1034,7 @@ Helper macro for <a class="el" href="structcc__credentials__iterator__f.html">cc
Helper macro for <a class="el" href="structcc__credentials__iterator__f.html">cc_credentials_iterator_f</a> clone()
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/index.html b/doc/ccapi/html/index.html
index 3933a7581..47f5e07c2 100644
--- a/doc/ccapi/html/index.html
+++ b/doc/ccapi/html/index.html
@@ -78,7 +78,7 @@ has an equivalent convenience macro of the form cc_type_some_function(): <div cl
The specifications below include the names for both the functions and the convenience macros, in that order. For clarity, it is recommended that clients using the API use the convenience macros, but that is merely a stylistic choice.<p>
Implementing the API in this manner allows us to extend and change the interface in the future, while preserving compatibility with older clients.<p>
For example, consider the case when the signature or the semantics of a cc_ccache_t function is changed. The API version number is incremented. The library implementation contains both a function with the old signature and semantics and a function with the new signature and semantics. When a context is created, the API version number used in that context is stored in the context, and therefore it can be used whenever a ccache is created in that context. When a ccache is created in a context with the old API version number, the function pointer structure for the ccache is filled with pointers to functions implementing the old semantics; when a ccache is created in a context with the new API version number, the function pointer structure for the ccache is filled with poitners to functions implementing the new semantics.<p>
-Similarly, if a function is added to the API, the version number in the context can be used to decide whether to include the implementation of the new function in the appropriate function pointer structure or not. <hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+Similarly, if a function is added to the API, the version number in the context can be used to decide whether to include the implementation of the new function in the appropriate function pointer structure or not. <hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__ccache__d.html b/doc/ccapi/html/structcc__ccache__d.html
index 53d198bb5..255367dd9 100644
--- a/doc/ccapi/html/structcc__ccache__d.html
+++ b/doc/ccapi/html/structcc__ccache__d.html
@@ -28,7 +28,7 @@
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__ccache__f.html b/doc/ccapi/html/structcc__ccache__f.html
index d4894d210..480c630ca 100644
--- a/doc/ccapi/html/structcc__ccache__f.html
+++ b/doc/ccapi/html/structcc__ccache__f.html
@@ -21,7 +21,7 @@ Function pointer table for cc_ccache_t. For more information see <a class="el" h
<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#g893b31c419e71c2f528781d3036fa3ff">cc_ccache_new_credentials_iterator()</a></b>: Iterate over credentials in a ccache. <a href="#4efc19a7cd2ac6695da44cb7f7e9be14"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#d4e0dc020d293643405a07396b6f5942">move</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> io_source_ccache, <a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> io_destination_ccache)
<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#ge1238f80c37ae89486f2ba29bcbcae38">cc_ccache_move()</a></b>: Move the contents of one ccache into another, destroying the source. <a href="#d4e0dc020d293643405a07396b6f5942"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#731d262d2aa179451f824d320c460f58">lock</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> io_ccache, <a class="el" href="group__ccapi__types__reference.html#ga00783c3f4aa70580d0900b1a79aab9d">cc_uint32</a> in_lock_type, <a class="el" href="group__ccapi__types__reference.html#ga00783c3f4aa70580d0900b1a79aab9d">cc_uint32</a> in_block)
<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#gb8c2624719ee1c4be5f1b1bc4844f0cc">cc_ccache_lock()</a></b>: Lock a ccache. <a href="#731d262d2aa179451f824d320c460f58"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#bffbfe60a3e8da64224623df5235159a">unlock</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> io_ccache)
-<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#gc98101af7822d1c3d5612723140ea960">cc_ccache_unlock()</a></b>: Unlock a ccache. <a href="#bffbfe60a3e8da64224623df5235159a"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#c65301a0ef050524286130185c3ec06d">get_last_default_time</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> in_ccache, <a class="el" href="group__ccapi__types__reference.html#ge7a754cfe5664beadddaa100646c9742">cc_time_t</a> *out_last_default_time)
+<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#ge9b13c950cb6ee636c4a73d6c569a811">cc_ccache_unlock()</a></b>: Unlock a ccache. <a href="#bffbfe60a3e8da64224623df5235159a"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#c65301a0ef050524286130185c3ec06d">get_last_default_time</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> in_ccache, <a class="el" href="group__ccapi__types__reference.html#ge7a754cfe5664beadddaa100646c9742">cc_time_t</a> *out_last_default_time)
<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#gb19ef7d2b1bcfb474e18e157fb3bc9c6">cc_ccache_get_change_time()</a></b>: Get the last time a ccache was the default ccache. <a href="#c65301a0ef050524286130185c3ec06d"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#a73ffc6e33ca8155cd644aa5d702c36f">get_change_time</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> in_ccache, <a class="el" href="group__ccapi__types__reference.html#ge7a754cfe5664beadddaa100646c9742">cc_time_t</a> *out_change_time)
<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#gb19ef7d2b1bcfb474e18e157fb3bc9c6">cc_ccache_get_change_time()</a></b>: Get the last time a ccache changed. <a href="#a73ffc6e33ca8155cd644aa5d702c36f"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#30719ac8b49a62bf73cb2841e397a81d">compare</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> in_ccache, <a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> in_compare_to_ccache, <a class="el" href="group__ccapi__types__reference.html#ga00783c3f4aa70580d0900b1a79aab9d">cc_uint32</a> *out_equal)
<dl class="el"><dd class="mdescRight"><b><a class="el" href="group__helper__macros.html#g197ff60fac986634fbef8ca102ec54a5">cc_ccache_compare()</a></b>: Compare two ccache objects. <a href="#30719ac8b49a62bf73cb2841e397a81d"></a><br></dl><li><a class="el" href="group__ccapi__types__reference.html#g0ce639c8d65dc6367fb361d5bbcea874">cc_int32</a>(* <a class="el" href="structcc__ccache__f.html#106ee10feffc1681c7583d6aac4d33b4">get_kdc_time_offset</a> )(<a class="el" href="structcc__ccache__d.html">cc_ccache_t</a> in_ccache, <a class="el" href="group__ccapi__types__reference.html#ga00783c3f4aa70580d0900b1a79aab9d">cc_uint32</a> in_credentials_version, <a class="el" href="group__ccapi__types__reference.html#ge7a754cfe5664beadddaa100646c9742">cc_time_t</a> *out_time_offset)
@@ -330,8 +330,8 @@ Attempts to acquire a lock for a ccache. Allowed values for lock_type are:<p>
</ul>
If block is cc_lock_block, <a class="el" href="structcc__ccache__f.html#731d262d2aa179451f824d320c460f58" title="cc_ccache_lock(): Lock a ccache.">lock()</a> will not return until the lock is acquired. If block is cc_lock_noblock, <a class="el" href="structcc__ccache__f.html#731d262d2aa179451f824d320c460f58" title="cc_ccache_lock(): Lock a ccache.">lock()</a> will return immediately, either acquiring the lock and returning ccNoError, or failing to acquire the lock and returning an error explaining why.<p>
To avoid having to deal with differences between thread semantics on different platforms, locks are granted per ccache, rather than per thread or per process. That means that different threads of execution have to acquire separate contexts in order to be able to synchronize with each other.<p>
-The lock should be unlocked by using <a class="el" href="group__helper__macros.html#gc98101af7822d1c3d5612723140ea960">cc_ccache_unlock()</a>.<p>
-<dl class="note" compact><dt><b>Note:</b></dt><dd>All locks are advisory. For example, callers which do not call <a class="el" href="group__helper__macros.html#gb8c2624719ee1c4be5f1b1bc4844f0cc">cc_ccache_lock()</a> and <a class="el" href="group__helper__macros.html#gc98101af7822d1c3d5612723140ea960">cc_ccache_unlock()</a> will not be prevented from writing to the ccache when you have a read lock. This is because the CCAPI locking was added later and thus adding mandatory locks would have changed the user experience and performance of existing applications. </dd></dl>
+The lock should be unlocked by using <a class="el" href="group__helper__macros.html#ge9b13c950cb6ee636c4a73d6c569a811">cc_ccache_unlock()</a>.<p>
+<dl class="note" compact><dt><b>Note:</b></dt><dd>All locks are advisory. For example, callers which do not call <a class="el" href="group__helper__macros.html#gb8c2624719ee1c4be5f1b1bc4844f0cc">cc_ccache_lock()</a> and <a class="el" href="group__helper__macros.html#ge9b13c950cb6ee636c4a73d6c569a811">cc_ccache_unlock()</a> will not be prevented from writing to the ccache when you have a read lock. This is because the CCAPI locking was added later and thus adding mandatory locks would have changed the user experience and performance of existing applications. </dd></dl>
</div>
</div><p>
@@ -347,7 +347,7 @@ The lock should be unlocked by using <a class="el" href="group__helper__macros.h
<div class="memdoc">
<p>
-<b><a class="el" href="group__helper__macros.html#gc98101af7822d1c3d5612723140ea960">cc_ccache_unlock()</a></b>: Unlock a ccache.
+<b><a class="el" href="group__helper__macros.html#ge9b13c950cb6ee636c4a73d6c569a811">cc_ccache_unlock()</a></b>: Unlock a ccache.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
@@ -553,7 +553,7 @@ This function blocks until the next change is made to the ccache referenced by <
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__ccache__iterator__d.html b/doc/ccapi/html/structcc__ccache__iterator__d.html
index dcc87ac71..696aa6aff 100644
--- a/doc/ccapi/html/structcc__ccache__iterator__d.html
+++ b/doc/ccapi/html/structcc__ccache__iterator__d.html
@@ -29,7 +29,7 @@
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__ccache__iterator__f.html b/doc/ccapi/html/structcc__ccache__iterator__f.html
index 08c9cc615..af0643ab2 100644
--- a/doc/ccapi/html/structcc__ccache__iterator__f.html
+++ b/doc/ccapi/html/structcc__ccache__iterator__f.html
@@ -84,7 +84,7 @@ Function pointer table for cc_ccache_iterator_t. For more information see <a cla
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__context__d.html b/doc/ccapi/html/structcc__context__d.html
index 482438c95..6f2dc456a 100644
--- a/doc/ccapi/html/structcc__context__d.html
+++ b/doc/ccapi/html/structcc__context__d.html
@@ -28,7 +28,7 @@
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__context__f.html b/doc/ccapi/html/structcc__context__f.html
index c1e3083c4..c5a182c63 100644
--- a/doc/ccapi/html/structcc__context__f.html
+++ b/doc/ccapi/html/structcc__context__f.html
@@ -400,7 +400,7 @@ This function blocks until the next change is made to the cache collection ccach
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__credentials__d.html b/doc/ccapi/html/structcc__credentials__d.html
index 0ecb880ce..b616019b4 100644
--- a/doc/ccapi/html/structcc__credentials__d.html
+++ b/doc/ccapi/html/structcc__credentials__d.html
@@ -45,7 +45,7 @@
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__credentials__f.html b/doc/ccapi/html/structcc__credentials__f.html
index 6f4bc74e1..68a833fdb 100644
--- a/doc/ccapi/html/structcc__credentials__f.html
+++ b/doc/ccapi/html/structcc__credentials__f.html
@@ -60,7 +60,7 @@ Function pointer table for cc_credentials_t. For more information see <a class="
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__credentials__iterator__d.html b/doc/ccapi/html/structcc__credentials__iterator__d.html
index bc3ccbef9..5b9cef49b 100644
--- a/doc/ccapi/html/structcc__credentials__iterator__d.html
+++ b/doc/ccapi/html/structcc__credentials__iterator__d.html
@@ -29,7 +29,7 @@
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__credentials__iterator__f.html b/doc/ccapi/html/structcc__credentials__iterator__f.html
index 849ee3143..494c7a9a4 100644
--- a/doc/ccapi/html/structcc__credentials__iterator__f.html
+++ b/doc/ccapi/html/structcc__credentials__iterator__f.html
@@ -60,7 +60,7 @@ Function pointer table for cc_credentials_iterator_t. For more information see <
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__credentials__union.html b/doc/ccapi/html/structcc__credentials__union.html
index e2b249b66..81e0ba58c 100644
--- a/doc/ccapi/html/structcc__credentials__union.html
+++ b/doc/ccapi/html/structcc__credentials__union.html
@@ -79,7 +79,7 @@ If <em>version</em> is <a class="el" href="group__ccapi__constants__reference.ht
The credentials.
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__credentials__v4__t.html b/doc/ccapi/html/structcc__credentials__v4__t.html
index 1eba067cf..df3f8e315 100644
--- a/doc/ccapi/html/structcc__credentials__v4__t.html
+++ b/doc/ccapi/html/structcc__credentials__v4__t.html
@@ -237,7 +237,7 @@ Ticket size (no greater than cc_v4_ticket_size)
Ticket data
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__credentials__v5__t.html b/doc/ccapi/html/structcc__credentials__v5__t.html
index 192242afc..0d33734de 100644
--- a/doc/ccapi/html/structcc__credentials__v5__t.html
+++ b/doc/ccapi/html/structcc__credentials__v5__t.html
@@ -221,7 +221,7 @@ Second ticket data.
Authorization data.
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__data.html b/doc/ccapi/html/structcc__data.html
index 28b2d37f0..1c2bd7d60 100644
--- a/doc/ccapi/html/structcc__data.html
+++ b/doc/ccapi/html/structcc__data.html
@@ -61,7 +61,7 @@ The length of <em>data</em>.
The data buffer.
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__string__d.html b/doc/ccapi/html/structcc__string__d.html
index acc90bde2..d9f958353 100644
--- a/doc/ccapi/html/structcc__string__d.html
+++ b/doc/ccapi/html/structcc__string__d.html
@@ -44,7 +44,7 @@
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/doc/ccapi/html/structcc__string__f.html b/doc/ccapi/html/structcc__string__f.html
index eae7f3166..40fad79df 100644
--- a/doc/ccapi/html/structcc__string__f.html
+++ b/doc/ccapi/html/structcc__string__f.html
@@ -34,7 +34,7 @@ Function pointer table for cc_string_t. For more information see <a class="el" h
</div>
</div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
diff --git a/src/include/CredentialsCache.h b/src/include/CredentialsCache.h
index 829a8979d..84783ae51 100644
--- a/src/include/CredentialsCache.h
+++ b/src/include/CredentialsCache.h
@@ -1514,8 +1514,8 @@ CCACHE_API cc_int32 cc_initialize (cc_context_t *out_context,
#define cc_ccache_lock(ccache, type, block) \
((ccache) -> functions -> lock (ccache, type, block))
/*! Helper macro for cc_ccache_f unlock() */
-#define cc_ccache_unlock(ccache, unlock) \
- ((ccache) -> functions -> unlock (ccache, unlock))
+#define cc_ccache_unlock(ccache) \
+ ((ccache) -> functions -> unlock (ccache))
/*! Helper macro for cc_ccache_f get_last_default_time() */
#define cc_ccache_get_last_default_time(ccache, last_default_time) \
((ccache) -> functions -> get_last_default_time (ccache, last_default_time))