From 58e67b6118a87b48b0edfb65250af6d7ab647ffb Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Mon, 10 Sep 2007 21:30:37 +0000 Subject: 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 --- doc/ccapi/html/structcc__ccache__f.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/ccapi/html/structcc__ccache__f.html') diff --git a/doc/ccapi/html/structcc__ccache__f.html b/doc/ccapi/html/structcc__ccache__f.html index d4894d2103..480c630ca4 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
cc_ccache_new_credentials_iterator(): Iterate over credentials in a ccache.
  • cc_int32(* move )(cc_ccache_t io_source_ccache, cc_ccache_t io_destination_ccache)
    cc_ccache_move(): Move the contents of one ccache into another, destroying the source.
  • cc_int32(* lock )(cc_ccache_t io_ccache, cc_uint32 in_lock_type, cc_uint32 in_block)
    cc_ccache_lock(): Lock a ccache.
  • cc_int32(* unlock )(cc_ccache_t io_ccache) -
    cc_ccache_unlock(): Unlock a ccache.
  • cc_int32(* get_last_default_time )(cc_ccache_t in_ccache, cc_time_t *out_last_default_time) +
    cc_ccache_unlock(): Unlock a ccache.
  • cc_int32(* get_last_default_time )(cc_ccache_t in_ccache, cc_time_t *out_last_default_time)
    cc_ccache_get_change_time(): Get the last time a ccache was the default ccache.
  • cc_int32(* get_change_time )(cc_ccache_t in_ccache, cc_time_t *out_change_time)
    cc_ccache_get_change_time(): Get the last time a ccache changed.
  • cc_int32(* compare )(cc_ccache_t in_ccache, cc_ccache_t in_compare_to_ccache, cc_uint32 *out_equal)
    cc_ccache_compare(): Compare two ccache objects.
  • cc_int32(* get_kdc_time_offset )(cc_ccache_t in_ccache, cc_uint32 in_credentials_version, cc_time_t *out_time_offset) @@ -330,8 +330,8 @@ Attempts to acquire a lock for a ccache. Allowed values for lock_type are:

    If block is cc_lock_block, lock() will not return until the lock is acquired. If block is cc_lock_noblock, lock() will return immediately, either acquiring the lock and returning ccNoError, or failing to acquire the lock and returning an error explaining why.

    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.

    -The lock should be unlocked by using cc_ccache_unlock().

    -

    Note:
    All locks are advisory. For example, callers which do not call cc_ccache_lock() and cc_ccache_unlock() 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.
    +The lock should be unlocked by using cc_ccache_unlock().

    +

    Note:
    All locks are advisory. For example, callers which do not call cc_ccache_lock() and cc_ccache_unlock() 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.

    @@ -347,7 +347,7 @@ The lock should be unlocked by using

    -cc_ccache_unlock(): Unlock a ccache. +cc_ccache_unlock(): Unlock a ccache.

    Parameters:
    @@ -553,7 +553,7 @@ This function blocks until the next change is made to the ccache referenced by <

    -


    Generated on Thu Aug 23 12:45:25 2007 for Credentials Cache API by  +
    Generated on Mon Sep 10 17:00:32 2007 for Credentials Cache API by  doxygen 1.5.3
    -- cgit