Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SrvParsGlobalOpt.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 
11 #ifndef TSRVPARSGLOBALOPT_H_
12 #define TSRVPARSGLOBALOPT_H_
13 
14 #include "SrvParsIfaceOpt.h"
15 #include "DHCPConst.h"
16 
17 typedef enum {
22 
24 {
25 public:
26  TSrvParsGlobalOpt(void);
27  ~TSrvParsGlobalOpt(void);
28 
29  std::string getWorkDir() const;
30  void setWorkDir(const std::string& dir);
31  void setStateless(bool stateless);
32  bool getStateless() const;
33  void setCacheSize(int bytes);
34  int getCacheSize() const;
35  bool getExperimental() const; // is experimental stuff allowed?
36  void setExperimental(bool exper);
39  void setInactiveMode(bool flex);
40  bool getInactiveMode() const;
41  void setGuessMode(bool guess);
42  bool getGuessMode() const;
43 
44 private:
46  std::string WorkDir_;
47  bool Stateless_;
49  bool GuessMode_;
52 };
53 #endif
54