Provide AIX unique functions in Card Services.
#include <sys/pcmciacs.h> #include <sys/pcmciacsAix.h>
int status = CardServices(CSVendorSpecific, objectID, pointer, argLength, argPointer); void* objectID; void* pointer; int argLength; CSaixVdrSpcPkt* argPointer;
Socket is used to specify logical socket number. funccode is used to specify function code in CSVendorSpecific function. Currently, CSaixLockSocket is prepared. subcode, opcode and subpkt may be used depending on funccode. Rsvd and rsvdd are reserved.
CSVendorSpecific function parsed the packet pointed by argPointer, and calls each function according to the function code specified in the packet.
CSR_SUCCESS | Specifies a successful function. |
CSR_UNSUPPORTED_FUNCTION | Error on parsing packet pointed by argPointer. |