diff options
Diffstat (limited to 'doc/html/_sources/appdev/refs/api/krb5_init_context.txt')
| -rw-r--r-- | doc/html/_sources/appdev/refs/api/krb5_init_context.txt | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_context.txt b/doc/html/_sources/appdev/refs/api/krb5_init_context.txt new file mode 100644 index 000000000000..ec50809c440b --- /dev/null +++ b/doc/html/_sources/appdev/refs/api/krb5_init_context.txt @@ -0,0 +1,58 @@ +krb5_init_context - Create a krb5 library context. +==================================================== + +.. + +.. c:function:: krb5_error_code krb5_init_context(krb5_context * context) + +.. + + +:param: + + **[out]** **context** - Library context + + +.. + + +:retval: + - 0 Success + + +:return: + - Kerberos error codes + +.. + + + + + + + +The *context* must be released by calling :c:func:`krb5_free_context()` when it is no longer needed. + + + + + + + + + + +.. + + + + + +.. warning:: + + Any program or module that needs the Kerberos code to not trust the environment must use :c:func:`krb5_init_secure_context()` , or clean out the environment. + + + + + |
