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

OptGeneric.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: OptGeneric.h,v 1.2 2005/07/17 19:56:54 thomson Exp $
00010  *
00011  * $Log: OptGeneric.h,v $
00012  * Revision 1.2  2005/07/17 19:56:54  thomson
00013  * End-of-line problem solved.
00014  *
00015  * Revision 1.1  2005/01/12 00:01:06  thomson
00016  * *** empty log message ***
00017  *
00018  *
00019  */
00020 
00021 #ifndef OPTGENERIC_H
00022 #define OPTGENERIC_H
00023 
00024 #include "DHCPConst.h"
00025 #include "Opt.h"
00026 #include "DUID.h" 
00027 #include "SmartPtr.h"
00028 
00029 class TOptGeneric : public TOpt
00030 {
00031   public:
00032     TOptGeneric(int optType, char * data, int dataLen, TMsg* parent);
00033     TOptGeneric(int optType, TMsg* parent);
00034     ~TOptGeneric();
00035     int getSize();
00036     void setData(char * data, int dataLen);
00037 
00038     char * storeSelf(char* buf);
00039     bool isValid();
00040   protected:
00041     char * Data;
00042     int DataLen;
00043 };
00044 
00045 #endif
00046 

Generated on Sun Aug 7 22:47:14 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1