dsiext.h

来自「商业银行前置系统」· C头文件 代码 · 共 74 行

H
74
字号
/*
 * 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-11-02 R.Cao     - create private declaration file
 */

#ifndef __DSIEXT_H__
#define __DSIEXT_H__
              
/*
 * Constant macros defined in this file
 */

/*
 * Commarea Structure
 */

typedef struct tagCOMMAREASTRU
{
    char szReqSeqNo[AP_LEN_SEQNO + 1];
    UINT nSize;
    char cMsg[SIZE_MSG_ISO8583];

} COMMAREASTRU;

typedef COMMAREASTRU *       PCOMMAREASTRU;
typedef const COMMAREASTRU   CCOMMAREASTRU;
typedef const COMMAREASTRU * PCCOMMAREASTRU;

/*
 * Transaction code constant macros
 */

#define TRANSCODE_REVERSE    "0001"
#define TRANSCODE_RESETKEY   "0002"
#define TRANSCODE_ADMIN      "0003"
#define TRANSCODE_AUTHSETTLE "0004"
#define TRANSCODE_NETMAN     "0005"
#define TRANSCODE_FEE        "0006"
#define TRANSCODE_EXPADVICE  "0007"

/*            
 * Functions declared in this file
 */           
              
RESULT HandleAuth(PISO8583STRU piso8583stru);
RESULT HandleAuthSettle(PISO8583STRU piso8583stru);
RESULT HandleCancel(PISO8583STRU piso8583stru);
RESULT HandleConsume(PISO8583STRU piso8583stru);
RESULT HandleQueryBal(PISO8583STRU piso8583stru);
RESULT HandleWithdraw(PISO8583STRU piso8583stru);
RESULT HandleReverse(PISO8583STRU piso8583stru);
RESULT HandleRefund(PISO8583STRU piso8583stru);
RESULT HandleSettle(PISO8583STRU piso8583stru);
RESULT HandleNetMan(PISO8583STRU piso8583stru);
RESULT HandleAdmin(PISO8583STRU piso8583stru);
RESULT HandleAuthSettle2(PISO8583STRU piso8583stru);
RESULT HandleFee(PISO8583STRU piso8583stru);
RESULT HandleResetKey(PISO8583STRU piso8583stru);

#endif /* __DSIEXT_H__ */

/* End of this file */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?