This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/Borland/BCC55/Include/dssenum.h

68 lines
1.5 KiB
C
Raw Permalink Normal View History

#ifndef DSSENUM_H
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
#define DSSENUM_H
// DSSENUM.H
// STOCKBPCEVENT enumeration has been removed. The allowable values
// of events fired to the CA Server are those defined as constants
// in the "CAEvent Interface" section of CAODL.H.
// Upper edge purchase actions
typedef enum PURCHASEACTION {
PAGETDETAILS,
PAPURCHASETOVIEW,
PAPURCHASETOTAPE,
PACANCELVIEW,
PACANCELTAPE,
PAPREVIEW,
PAGETEXTENDEDINFO
} PURCHASEACTION;
// note that the bit mapping used here allows, for DSS, the direct conversion
// of lower edge status into upper edge status.
typedef enum PURCHASESTATUS {
PSVIEWTAKEN = 0,
PSVIEWCANCELLED,
PSVIEWREPORTED,
PSPREVIEWTAKEN,
PSVIEWAUTHORIZED,
PSVIEWPURCHASED,
PSTAPEPURCHASED,
PSTAPEAUTHORIZED,
PSTAPETAKEN,
PSTAPECANCELLED,
PSTAPEREPORTED,
PSVIEWAVAILABLE,
PSTAPEAVAILABLE,
PSREVIEWAVAILABLE
} PURCHASESTATUS;
// Reason values returned in BPCDetails when purchase actions are
// attempted.
typedef enum PURCHASEREASON {
PRSUCCESS = 0,
PRNOCALLBACK,
PRNOSUBSCRIBER,
PRRATING,
PRSPENDING,
PRCREDIT,
PRWRONGCARD,
PRCARDFULL,
PRBLOCKED,
PRBLACKOUT,
PRTOOLATE,
PRREDUNDANT,
PRPPVFAILURE,
PRBADDATA,
PRCONTENTION,
PRNOCARD,
PRNOPIP
} PURCHASEREASON;
#pragma option pop /*P_O_Pop*/
#endif