diff options
author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2007-06-22 18:50:26 +0000 |
---|---|---|
committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2007-06-22 18:50:26 +0000 |
commit | a78a0c3d88a8e6506caf8f6a8f8147492f093899 (patch) | |
tree | 016382df1e85ca5398e82e3717ecec57ab8295e7 /src/windows/identity/kherr/kherr.h | |
parent | aa2f0ac5f850ef76ab2e8b864191bfa98a2a6c47 (diff) | |
download | krb5-a78a0c3d88a8e6506caf8f6a8f8147492f093899.tar.gz krb5-a78a0c3d88a8e6506caf8f6a8f8147492f093899.tar.xz krb5-a78a0c3d88a8e6506caf8f6a8f8147492f093899.zip |
Update developer documentation
These updates reflect changes that were made to the new credentials
acquisition process and add information to incomplete API
documentation.
ticket: 5584
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19620 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/identity/kherr/kherr.h')
-rw-r--r-- | src/windows/identity/kherr/kherr.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/windows/identity/kherr/kherr.h b/src/windows/identity/kherr/kherr.h index fff3d5031e..50e8764347 100644 --- a/src/windows/identity/kherr/kherr.h +++ b/src/windows/identity/kherr/kherr.h @@ -911,10 +911,39 @@ KHMEXP void KHMAPI kherr_set_progress(khm_ui_4 num, khm_ui_4 denom); #define _progress(num,denom) kherr_set_progress((num),(denom)) /*! \brief Get the progress meter of the current error context + + This is equivalent to calling kherr_get_progress_i() for the + current error context. I.e. : + + \code + kherr_context * ctx; + + ctx = kherr_peek_context(); + kherr_get_progress_i(ctx, &num, &denom); + kherr_release_context(ctx); + \endcode + + \see kherr_get_progress_i() */ KHMEXP void KHMAPI kherr_get_progress(khm_ui_4 * num, khm_ui_4 * denom); /*! \brief Get the progress meter of an error context + + The progress meter for the current context can be set by calling + kherr_set_progress() (or using the ::_progress macro). The + progress value returned by this function is as follows: + + If one or more of the following conditions are true, then the + returned progress values are the values set for the context using + the most recent call to kherr_set_progress(): + + - if the numerator and the denominator are non-zero + + - if the ::KHERR_CF_OWN_PROGRESS flag is set for the context. + + Otherwise, the function will calculate the progress by enumerating + all the child context for the context and summing up the + normalized numerators and the denominators for them. */ KHMEXP void KHMAPI kherr_get_progress_i(kherr_context * c, khm_ui_4 * num, khm_ui_4 * denom); |