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

OptStatusCode.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 or later licence
00008  *
00009  * $Id: OptStatusCode.h,v 1.2 2004/12/08 00:17:04 thomson Exp $
00010  *
00011  * $Log: OptStatusCode.h,v $
00012  * Revision 1.2  2004/12/08 00:17:04  thomson
00013  * DOS end of lines removed, header added.
00014  *
00015  */
00016 
00017 #ifndef OPTSTATUSCODE_H
00018 #define OPTSTATUSCODE_H
00019 
00020 #include <string>
00021 #include "Opt.h"
00022 #include "DHCPConst.h"
00023 
00024 class TOptStatusCode : public TOpt
00025 {
00026   public:
00027     TOptStatusCode( char * &buf,  int &len, TMsg* parent);
00028     TOptStatusCode(int status,string Message, TMsg* parent);
00029     
00030     int getSize();
00031     char * storeSelf( char* buf);
00032     
00033     int getCode();  
00034     string getText();
00035     
00036     bool doDuties();    
00037  private:
00038     string Message;
00039     int StatusCode;
00040     bool Valid;
00041 };
00042 
00043 #endif 
00044 

Generated on Mon Dec 27 21:55:22 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1