S11nInetdItem.h

Go to the documentation of this file.
00001 #ifndef __S11NINETDITEM_H__
00002 #define __S11NINETDITEM_H__
00003 
00004 /*
00005 
00006 $Header$
00007 
00008 */
00009 
00010 #include "S11n.h"
00011 #include "InetdItem.h"
00012 
00013 static const char *const INETD_ITEM_DELIMITER = ":";
00014 
00015 // Tags.
00016 
00017 static const char *const XML_TAG_SERVICE  = "service";
00018 static const char *const XML_TAG_PORT     = "port";
00019 static const char *const XML_TAG_LOGIN    = "login";
00020 static const char *const XML_TAG_PASSWORD = "password";
00021 static const char *const XML_TAG_ALLOW    = "allow";
00022 static const char *const XML_TAG_DENY     = "deny";
00023 
00024 template<>
00025 int S11n<InetdItem>::toString(const InetdItem &value, String &str);
00026 
00027 template<>
00028 int S11n<InetdItem>::fromString(const String &str, InetdItem &value);
00029 
00030 template<>
00031 int S11n<InetdItem>::toXml(const InetdItem &value, XmlElement *element);
00032 
00033 template<>
00034 int S11n<InetdItem>::fromXml(const XmlElement *element, InetdItem &value);
00035 
00036 #endif

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1