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

RegisterClient(D4pccard)


RegisterClient -- describes client information to be registered with CardServices

Syntax

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

Description

The RegisterClient structure is used to register a client with CardServices( ).

Structure definition

   unsigned short	usAttributes;
   unsigned short	usEventMask;
   ClientData_t    ClientData;
   unsigned short	usVersion;

Structure members

The members are defined as:

usAttributes
Client attributes, bit mapped. Valid vallues are:

bit 0
set to 1 for memory client device driver

bit 1
set (1) = MTD

bit 2
set (1) = I/O client driver

bit 3
set (1) = CARD_INSERTION events for sharable cards

bit 4
set (1) = CARD_INSERTION events for cards being exclusivly used by one Client

bit 515
reserved, reset to 0

usEventMask
Events of which to notify Client.

ClientData
Pointer to ClientData(D4pccard) structure

usVersion
Expected CardServices level.

Usage

Hardware applicability

All

Version applicability

pccard: 1, 2, 3

References

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