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: ClntOptLifetime.h,v 1.1 2004/10/25 20:45:53 thomson Exp $ 00010 * 00011 * $Log: ClntOptLifetime.h,v $ 00012 * Revision 1.1 2004/10/25 20:45:53 thomson 00013 * Option support, parsers rewritten. ClntIfaceMgr now handles options. 00014 * 00015 * 00016 */ 00017 00018 #ifndef CLNTOPTLIFETIME_H 00019 #define CLNTOPTLIFETIME_H 00020 00021 #include "DHCPConst.h" 00022 #include "OptInteger4.h" 00023 00024 class TClntOptLifetime : public TOptInteger4 00025 { 00026 public: 00027 TClntOptLifetime(char * buf, int n, TMsg* parent); 00028 00029 TClntOptLifetime(char pref, TMsg* parent); 00030 bool doDuties(); 00031 }; 00032 00033 #endif 00034