sec_login_import_context-Import a login context
#include <dce/sec_login.h> void sec_login_import_context ( unsigned32 count, byte advertisement[], sec_login_handle_t *login_context, error_status_t *status );
Input
- count
The length (in bytes) of the advertisement of the login context (contained in advertisement).
- advertisement[]
The advertisement of the login context.
Output
- login_context
The login context, created from its advertisement.
- status
The completion status.
Thesec_login_import_context() routine imports a login context; that is, creates a login context from its advertisement.In typical implementations, this routine reads the login context's cache file (whose name was contained in the login context's advertisement) into the calling process's address space.
- error_status_ok
- sec_login_s_context_invalid
- sec_login_s_default_use
- sec_login_s_internal_error
Functions:sec_login_export_context() .
Contents | Next section | Index |