/*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef __IRCADDR_H #define __IRCADDR_H class __ircaddr { public: char * nick; char * ident; char * host; }; class ircaddr : public __ircaddr { public: ircaddr(const char * addr); ircaddr(__ircaddr &); ~ircaddr(); }; /* * Diff in this one is, we don't do three memory allocations * like the one above. Useful for some cases. */ class ircaddr_simple : public __ircaddr { public: ircaddr_simple(char *); }; #endif