pcs_rcv_gh.h

来自「unix 下用pro*c tuxedo 开发的东西」· C头文件 代码 · 共 58 行

H
58
字号
#ifndef __PCS_RCV_GH_H
#define __PCS_RCV_GH_H

#include <stdio.h>
#include <stdlib.h>
#include <sqlca.h>
#include <signal.h>
#include <string.h>
#include "/usr/bkfx/src/CommonAPI/myapi.h"

/*#ifndef DEBUG
#define DEBUG
#endif
*/
#define LEN_GHNR	50000
#define LEN_GH_BUF	50030
#define LEN_DATA_TYPE	20
#define LEN_HZ		20
#define LEN_FSXH	10
#define ERROR_LOG_FILE		"/usr/bkfx/log/errlog"
#define LOG_NORMAL		"Pcs_Rcv_GH<LOG_NORMAL>:"
#define LOG_ERROR		"Pcs_Rcv_GH<LOG_ERROR>:"
#define END			""
#define InitInterval		5


void ProcessError();

void Free_Mem();

int InitRcvGH();

int PCSRcvGH();

int EndRcvGH();

int ReadGHMsg();
 
int CreateRcvLogStatus();
 
int InsertRcvGHRec();

int Snd_HZ_MQ();

int UpdateRcvLogStatus();

int Cancel_UpdateJSRZ();


char 	fssjbh[3], jssjbh[3], ghxl[3], c_fsxh[11], ghbh[4];
int 	rtn_code, interval;
char   	*buf, *buf_hz, *data_type, *tmp;
long 	buf_length,fsxh;

#endif


⌨️ 快捷键说明

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