Previous section.

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

NAME

sec_login_import_context-Import a login context

SYNOPSIS

#include <dce/sec_login.h>

void sec_login_import_context (
    unsigned32 count,
    byte advertisement[],
    sec_login_handle_t *login_context,
    error_status_t *status );

PARAMETERS

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.

DESCRIPTION

The sec_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.

ERRORS

error_status_ok

sec_login_s_context_invalid

sec_login_s_default_use

sec_login_s_internal_error

SEE ALSO

Functions: sec_login_export_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