Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

wvipaliaser.h

Go to the documentation of this file.
00001 /*
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  */ 
00005 #ifndef __WVIPALIASER_H
00006 #define __WVIPALIASER_H
00007 
00008 #include "wvinterface.h"
00009 #include "wvaddr.h"
00010 
00018 class WvIPAliaser
00019 {
00020     struct Alias
00021     {
00022         int index, link_count;
00023         WvIPAddr ip;
00024         
00025         Alias(const WvIPAddr &_ip);
00026         ~Alias();
00027     };
00028 
00029     DeclareWvList(Alias);
00030     
00031     static AliasList all_aliases;
00032     AliasList aliases;
00033     WvInterfaceDict interfaces;
00034     
00035     WvIPAliaser::Alias *ipsearch(WvIPAliaser::AliasList &l,
00036                                  const WvIPAddr &ip);
00037     
00038 public:
00039     WvIPAliaser();
00040     ~WvIPAliaser();
00041     
00042     void dump();
00043     
00060     void start_edit();
00061     void add(const WvIPAddr &ip);
00062     void done_edit();
00063 };
00064 
00065 
00066 #endif // __WVIPALIASER_H

Generated on Sat Aug 24 21:37:00 2002 for WvStreams by doxygen1.2.15