106 lines
2.8 KiB
C
106 lines
2.8 KiB
C
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipftps_config.h,v $ $Revision: 1.7.12.5 $
|
|
* $Source: /home/interpeak/CVSRoot/ipappl/config/ipftps_config.h,v $
|
|
* $Author: jren $ $Date: 2017-05-17 07:08:20 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Ulf Olofsson <ulf@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IPFTPS_CONFIG_H
|
|
#define IPFTPS_CONFIG_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
#include <ipcom_config.h>
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/* Test system requires 'IPFTPS_USE_TEST' */
|
|
#ifdef IPTESTENGINE
|
|
#if !defined(IPFTPS_USE_TEST)
|
|
#define IPFTPS_USE_TEST
|
|
#endif
|
|
#endif
|
|
|
|
/* Data transfer buffer size */
|
|
#define IPFTPS_DATABUFSIZE 4096
|
|
|
|
/* FTP command buffer size */
|
|
#define IPFTPS_CMDBUFSIZE 1024
|
|
|
|
/* Max no of arguments for FTP command */
|
|
#define IPFTPS_MAX_ARGS 10
|
|
|
|
/* Argument delimiters */
|
|
#define IPFTPS_DELIMITERS " ,|"
|
|
|
|
/* PASS cmd argument delimiters */
|
|
#define IPFTPS_PASS_DELIMITERS "\r\n"
|
|
|
|
/* Directory path separators */
|
|
#define IPFTPS_DIRSEP "/\\"
|
|
|
|
/* Attempts to bind data socket when using random ports */
|
|
#define IPFTPS_BIND_ATTEMPTS 5
|
|
|
|
/* Mimic IIS behaviour (send 150 before establishing data connection) */
|
|
/*#define IPFTPS_USE_IIS_150*/
|
|
|
|
|
|
/* Transport protocol for FTPS */
|
|
#undef IPFTPS_USE_SCTP
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|