DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

ValidateCIS(D3pccard)


ValidateCIS -- check Card Information Structure (CIS) on client's card

Synopsis

   #include <sys/types.h>
   #include <sys/lcs.h>
   #include <sys/lss.h>
   

int CardServices (ValidateCIS, int n1, int n2, int ValidateCISLen, CISinfo_t *pValidateCIS, rm_key_t key);

Description

ValidateCIS( ) checks the Card Information Structure on the Client's card.

Arguments


n1
NULL

n2
NULL

ValidateCISLen
Length of the CISinfo(D4pccard) structure. Must be set to 4.

pValidateCIS
Pointer to a CISinfo(D4pccard) structure.

key
Resource manager key.

Return values


BAD_ARG_LENGTH
ValidateCISLen not equal to 4.

BAD_SOCKET
Socket not valid.

NO_CARD
Card not inserted.

OUT_OF_RESOURCE
Cannot access card's attribute memory.

SUCCESS
CIS checked out valid.

Usage

ValidateCIS( ) is called as part of client validation. It reads the first tuple and then follows the links between tuples, reading attribute memory in each tuple along the chain until the last tuple or until the 256th.

Context and synchronization

Interrupt, initialization, or user context

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

CISinfo(D4pccard)

config(D2pccard), init(D2pccard), _verify(D2pccard)


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005