Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DHCPRelay.h
Go to the documentation of this file.
1 /*
2  * Dibbler - a portable DHCPv6
3  *
4  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
5  * Marek Senderski <msend@o2.pl>
6  *
7  * released under GNU GPL v2 licence
8  *
9  */
10 
11 #ifndef DHCPSERVER_H
12 #define DHCPSERVER_H
13 
14 #include <iostream>
15 #include <string>
16 
18 {
19  public:
20  TDHCPRelay(const std::string& config);
21  void run();
22  void stop();
23  bool isDone();
24  bool checkPrivileges();
25  void setWorkdir(std::string workdir);
26  ~TDHCPRelay();
27 
28  private:
29  bool IsDone;
30 };
31 
32 #endif
33