schedulator: only do weekdays, not weekends.
[wvapps.git] / wvtftp / wvtftpserver.h
blob50b2b8242b0af7048f5c6a7bca020362bdd4e41c
1 /*
2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2003 Net Integration Technologies, Inc.
5 * WvTFTPServer. This class implements the server end of WvTFTP.
6 */
7 #ifndef __WVTFTPSERVER_H
8 #define __WVTFTPSERVER_H
10 #include "wvtftpbase.h"
11 #include "uniconf.h"
13 class WvTFTPServer : public WvTFTPBase
15 public:
16 WvTFTPServer(UniConf &_cfg, int _tftp_tick);
17 void add_dir(WvString dir);
18 void rm_dir(WvString dir);
19 virtual ~WvTFTPServer();
21 private:
22 UniConf &cfg;
23 virtual void execute();
24 virtual void new_connection();
25 int validate_access(TFTPConn *c, WvString &basedir);
28 #endif // __WVTFTPS_H