Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

DHCPRelay.h

Go to the documentation of this file.
00001 /*
00002  * Dibbler - a portable DHCPv6
00003  *
00004  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
00005  *          Marek Senderski <msend@o2.pl>
00006  *
00007  * released under GNU GPL v2 licence
00008  *
00009  * $Id: DHCPRelay.h,v 1.2 2005/02/01 00:57:36 thomson Exp $
00010  *
00011  * $Log: DHCPRelay.h,v $
00012  * Revision 1.2  2005/02/01 00:57:36  thomson
00013  * no message
00014  *
00015  * Revision 1.1  2005/01/11 22:53:35  thomson
00016  * Relay skeleton implemented.
00017  *
00018  */
00019 
00020 #ifndef DHCPSERVER_H
00021 #define DHCPSERVER_H
00022 
00023 #include <iostream>
00024 #include <string>
00025 #include "RelCommon.h"
00026 
00027 using namespace std;
00028 
00029 class TDHCPRelay
00030 {
00031   public:
00032     TDHCPRelay(string config);
00033     void run();
00034     void stop();
00035     bool isDone();
00036     bool checkPrivileges();
00037     void setWorkdir(std::string workdir);
00038     ~TDHCPRelay();
00039 
00040   private:
00041     bool IsDone;
00042     TCtx Ctx;
00043 };
00044 
00045 #endif
00046 

Generated on Wed Mar 16 00:10:25 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1