Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DHCPServer.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 only licence
8  */
9 
10 #ifndef DHCPSERVER_H
11 #define DHCPSERVER_H
12 
13 #include <iostream>
14 #include <string>
15 #include "SmartPtr.h"
16 
18 {
19  public:
20  TDHCPServer(const std::string& config);
21  void run();
22  void stop();
23  bool isDone();
24  bool checkPrivileges();
25  void setWorkdir(std::string workdir);
26  ~TDHCPServer();
27 
28  private:
29  bool IsDone_;
30 };
31 
32 #endif
33