/**************************************************************************
 *
 * SOURCE FILE NAME = CS.H
 *
 * DESCRIPTIVE NAME = Card Services Header File
 *
 * Copyright : COPYRIGHT IBM CORPORATION, 1991, 1992 - PATENT PENDING
 *             LICENSED MATERIAL - PROGRAM PROPERTY OF IBM
 *             REFER TO COPYRIGHT INSTRUCTION FORM#G120-2083
 *             RESTRICTED MATERIALS OF IBM
 *             IBM CONFIDENTIAL
 *
 * VERSION =
 *
 * DATE
 *
 * DESCRIPTION This file contains prototypes for public functions
 *                    in cardserv.h
 *
 * FUNCTIONS
 *
 * ENTRY POINTS:
 *
 * DEPENDENCIES:
 *
 * NOTES
 *
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 * EXTERNAL FUNCTIONS
 *
 * CHANGE ACTIVITY =
 *  DATE      FLAG        APAR   CHANGE DESCRIPTION
 *  --------  ----------  -----  --------------------------------------
 *  mm/dd/yy  @Vr.mpppxx  xxxxx  xxxxxxx
 ****************************************************************************/

    /*
    ** constant definitions
    */
#define SUCCESS 0

    /*
    ** type definitions
    */
typedef struct {
    UCHAR  function;
    USHORT handle;
    ULONG  pointer;
    USHORT arglength;
    ULONG  argpointer;
} IDC_PACKET;

    /*
    ** public  function prototypes
    */
BOOL   cs_card_present(USHORT);
BOOL   cs_is_modem_card(USHORT);
USHORT cs_register_client(void);
USHORT cs_acquire_resource(USHORT, USHORT, USHORT);
USHORT cs_release_resource(USHORT, USHORT, USHORT);
USHORT cs_get_num_of_sockets(void);
BOOL   cs_services_present(void);
