www.pudn.com > S3c2410bsp.zip > ftpdLib.h
/* ftpdLib.h - header file for ftpdLib.c */
/* Copyright 1984-1998 Wind River Systems, Inc. */
#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 */