Vpinit() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

V
P
ISUAL
AYMENTS

vpInit()

vpInit()
256
M
X
800 S
P
ERIES
ROGRAMMERS
Connects to Visual Payment and starts a thread to monitor the connection.
Callback functions for:
Up Channel data received
Disconnect
Down Channel Request received
Down Channel File Status
Timeout
Environment variables for XTRMCFG:
*VPAPPNAME = string for TERMINALAPPLICATIONNAME
*VPAPPVERSION = string for TERMINALAPPLICATION
*VPDOWNPORT = string for Down Channel Port Number. Default is 5016.
*VPSERVERADDRESS = string for VP Server Address
*VPSERVERPORT = string for VP Server Port. Default is 5014.
Prototype
int vpInit(vp_parm_t *pstVP);
typedef struct {
int
iOptions;
char chSeperator;
void *fnUpData;
void *fnUpDisconnect;
int
*fnDownReq;
void *fnDownFileStatus;
void *fnTimedOut;
} vp_parm_t;
Parameters
Bit defined options:
iOptions
0x0002 Disable Auto ACKs
0x0001 Force Download
Field separator character
chSeparator
Return Values
0
Error
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents