2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2003 Net Integration Technologies, Inc.
5 * WvTFTPServer. This class implements the server end of WvTFTP.
7 #ifndef __WVTFTPSERVER_H
8 #define __WVTFTPSERVER_H
10 #include "wvtftpbase.h"
13 class WvTFTPServer
: public WvTFTPBase
16 WvTFTPServer(UniConf
&_cfg
, int _tftp_tick
);
17 void add_dir(WvString dir
);
18 void rm_dir(WvString dir
);
19 virtual ~WvTFTPServer();
23 virtual void execute();
24 virtual void new_connection();
25 int validate_access(TFTPConn
*c
, WvString
&basedir
);