Previous section.

DCE 1.1: Authentication and Security Services
Copyright © 1997 The Open Group

NAME

sec_login_release_context-Release a login context

SYNOPSIS

#include <dce/sec_login.h>

void sec_login_release_context (
    sec_login_handle_t *login_context,
    error_status_t *status );

PARAMETERS

Input/Output

login_context

Login context to be freed.

Output

status

The completion status.

DESCRIPTION

The sec_login_release_context() routine releases a login context; that is, frees the memory allocated to it. (This routine does not affect other processes' accessibility to the login context).

In typical implementations, this routine frees local memory storage (in the current address space) allocated to the specified login context, thereby making the login context inaccessible to the calling process (but it does not access the login context's cache file).

ERRORS

error_status_ok

sec_login_s_context_invalid

sec_login_s_default_use

SEE ALSO

Functions: sec_login_setup_identity(), sec_login_purge_context().
Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.

Contents Next section Index