📄 imexportdata.h
字号:
/*******************************************************************************
* Filename : imexportdata.h
* Description : import export data header file
* * Shared import export information data strcture
* Created on : 12/16/03
* CVS Version : $Id: imexportdata.h,v 1.4 2004/03/24 03:28:34 weny Exp $
*
* (C) Copyright Promise Technology Inc., 2003
* All Rights Reserved
******************************************************************************/
#ifndef __IMEXPORT_H__
#define __IMEXPORT_H__
#include "pibasic.h"
#define IMEXPORT_UNKNOWNTYPE 0
#define IMEXPORT_USERDATABASE 1
#define IMEXPORT_EVENTCUS 2
#define IMEXPORT_HTTP 1
#define IMEXPORT_TFTP 2
//error will defined in order of seriousness
#define IMPORT_ERR_NOERROR 0
#define IMPORT_ERR_WARNING 1
#define IMPORT_ERR_DATAERROR 2
#define IMPORT_ERR_WRONGFILE 3
#define IMPORT_ERR_SYNTEXERROR 4
#define IMPORT_ERR_UNKNOWN 5
typedef struct
{
u8 ep_u8FileType;
boolean_t ep_bEncryption;
u8 ep_u8Method;
u8 ep_u8Language;
u16 ep_u16PortNum;
u8 ep_u8Reserved[2];
u8 ep_u8Host[16];
u8 ep_u8FileName[MAX_PATH_LENGTH+1];
} export_param_t;
typedef struct
{
u8 ip_u8Filename[MAX_PATH_LENGTH+1];
boolean_t ip_bDecryption;
u8 ip_u8Method;
boolean_t ip_bImmediate;
boolean_t ip_bInfoOnly;
u8 ip_u8Language;
u8 ip_u8FileType;
u8 ip_u8Reserved1;
u16 ip_u16PortNum;
u8 ip_u8Reserved2[6];
u8 ip_u8Host[16];
} import_param_t;
typedef struct
{
u8 is_u8FileType;
u8 is_u8Status;
u8 is_u8Reserved[6];
u8 is_u8Detail[1024];
} import_status_t;
#endif /* __IMEXPORT_H__ */
/*******************************************************************************
* Change Log
*
* $Log: imexportdata.h,v $
* Revision 1.4 2004/03/24 03:28:34 weny
* I2 API porting
*
* Revision 1.3 2004/02/12 03:47:22 debinc
* support for event customization export/import
*
*******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -