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: ClntParsAddrOpt.h,v 1.2 2004/10/25 20:45:52 thomson Exp $ 00010 * 00011 * $Log: ClntParsAddrOpt.h,v $ 00012 * Revision 1.2 2004/10/25 20:45:52 thomson 00013 * Option support, parsers rewritten. ClntIfaceMgr now handles options. 00014 * 00015 */ 00016 00017 #ifndef CLNTPARSADDROPT_H 00018 #define CLNTPARSADDROPT_H 00019 00020 #include "DHCPConst.h" 00021 00022 class TClntParsAddrOpt 00023 { 00024 public: 00025 TClntParsAddrOpt(); 00026 long getPref(); 00027 void setPref(long pref); 00028 00029 long getValid(); 00030 void setValid(long valid); 00031 00032 private: 00033 long Pref; 00034 long Valid; 00035 }; 00036 00037 #endif 00038