⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftpdlib.h

📁 VxWorks BSP 下s3C44b0的源代码
💻 H
字号:
/* ftpdLib.h - header file for ftpdLib.c */

/* Copyright 1984-1998 Wind River Systems, Inc. */

/*
modification history
--------------------
01j,03dec98,lrn  add default home directory control (SPR#23554)
01i,13oct98,lrn  add EXTERN definitions for important global variables
01h,29sep98,lrn  changed auth library binding to function, ftpdInit arg1 to port
01g,03jul97,sgv  Modified ftpdInit to take a FUNCPTR parameter
01g,10dec97,spm  changed prototype for ftpdInit to support configurable
                 password authentication (SPR #8602); removed unused
                 prototype for ftpdTask routine
01f,22sep92,rrr  added support for c++
01e,04jul92,jcf  cleaned up.
01d,26may92,rrr  the tree shuffle
01c,04oct91,rrr  passed through the ansification filter
		  -fixed #else and #endif
		  -changed VOID to void
		  -changed copyright notice
01b,05oct90,dnw deleted ftpdWorkTask().
01a,05oct90,shl created.
*/

#ifndef __INCftpdLibh
#define __INCftpdLibh

#ifdef __cplusplus
extern "C" {
#endif

/* globals */

IMPORT int ftpdDebug;
IMPORT int ftpdTaskPriority;
IMPORT int ftpdTaskOptions;
IMPORT int ftpdWorkTaskPriority	;
IMPORT int ftpdWorkTaskOptions	; 
IMPORT int ftpdWorkTaskStackSize;
IMPORT int ftpdWindowSize ;
IMPORT int ftpsMaxClients ; 	

/* function declarations */

#if defined(__STDC__) || defined(__cplusplus)

extern STATUS 	ftpdInit (int port, int stackSize);
extern STATUS 	ftpdDelete (void);
extern void	ftpdLoginInstall( FUNCPTR pLoginFunc);
extern STATUS	ftpdHomeDirSet( const char * homeDir );
extern STATUS	ftpdAnonymousAllow ( const char *rootDir,
			const char *uploadDir);

#else	/* __STDC__ */

extern STATUS 	ftpdInit ();
extern void 	ftpdDelete ();
extern void	ftpdLoginInstall();
extern STATUS	ftpdHomeDirSet();
extern STATUS	ftpdAnonymousAllow ();

#endif	/* __STDC__ */

#ifdef __cplusplus
}
#endif

#endif /* __INCftpdLibh */

⌨️ 快捷键说明

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