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

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