📄 posext.h
字号:
/*
* This is a part of the Application Preconsole
* - Channel Access - POS.
* Copyright(C) 2000-2000 ABC.SDC.
* All rights reserved.
*
* This source code is only intended as a supplement to the
* Application Preconsole Reference and related
* electronic documentation provided with the library.
* See these sources for detailed information regarding the
* Application Preconsole product.
*
* Update record:
* 2001-08-03 HuangRunLang - create private declaration file
*/
#ifndef __POSEXT_H__
#define __POSEXT_H__
/*
* Constant macros defined in this file
*/
/*
* Length constant macros
*/
#define LEN_CONVKEYTIME 10
/*
* Commarea Structure
*/
typedef struct tagCOMMAREASTRU
{
char szConvKeyTime[LEN_CONVKEYTIME + 1];
char szMsgLen[6 + 1];
char cMsg[SIZE_MSG_ISO8583];
} COMMAREASTRU;
typedef COMMAREASTRU * PCOMMAREASTRU;
typedef const COMMAREASTRU CCOMMAREASTRU;
typedef const COMMAREASTRU * PCCOMMAREASTRU;
/*
* Transaction code constant macros
*/
#define TRANSCODE_ADJUST "0001" /* 调整金额 */
#define TRANSCODE_INIT "0002" /* 初始化参数 */
#define TRANSCODE_SETTLE "0003" /* 结算 */
#define TRANSCODE_SETTLE2 "0004" /* 二次结算 */
#define TRANSCODE_UPLOAD "0005" /* 批上送 */
#define TRANSCODE_REVERSE "0006" /* 自动冲正 */
/*
* Functions declared in this file
*/
RESULT HandleConsume(PISO8583STRU piso8583stru);
RESULT HandleQueryBal(PISO8583STRU piso8583stru);
RESULT HandleQueryStatus(PISO8583STRU piso8583stru);
RESULT HandleRefund(PISO8583STRU piso8583stru);
RESULT HandleAuth(PISO8583STRU piso8583stru);
RESULT HandleAuthSettle(PISO8583STRU piso8583stru);
RESULT HandleCancel(PISO8583STRU piso8583stru);
RESULT HandleReverse(PISO8583STRU piso8583stru);
RESULT HandleAdjust(PISO8583STRU piso8583stru);
RESULT HandleInit(PISO8583STRU piso8583stru);
RESULT HandleSettle(PISO8583STRU piso8583stru);
RESULT HandleSettle2(PISO8583STRU piso8583stru);
RESULT HandleUpload(PISO8583STRU piso8583stru);
#endif /* __POSEXT_H__ */
/* End of this file */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -