Mercurial > archived > louis > epitech > zia-api
changeset 31:d82cf6b99c5f
merge
author | Zoltan K |
---|---|
date | Sun, 21 Mar 2010 15:55:16 +0100 |
parents | ed7e54a1bc3d (current diff) 7ee8ad9d593b (diff) |
children | df82b7f381c0 16bc35e8bb33 |
files | src/include/http/IHeader.hpp |
diffstat | 3 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/include/IModule.hpp Sun Mar 21 15:34:28 2010 +0100 +++ b/src/include/IModule.hpp Sun Mar 21 15:55:16 2010 +0100 @@ -49,10 +49,12 @@ /** * @brief Update module configuration + * @param [in] conf the pointer on IConfig which hold the configuration * @return true if the configuration was successfully loaded * if the configure module return false, it will be unload. + * @see IConfig */ - virtual bool configure(IConfig *) = 0; + virtual bool configure(IConfig* conf = NULL) = 0; };
--- a/src/include/handler/INetworkHandler.hpp Sun Mar 21 15:34:28 2010 +0100 +++ b/src/include/handler/INetworkHandler.hpp Sun Mar 21 15:55:16 2010 +0100 @@ -74,7 +74,7 @@ ** @return a copy of a structure ** @see sPtrFunc */ - virtual sPtrFunc getHandlers(void) = 0; + virtual sPtrFunc getNetworkHandlers(void) = 0; };
--- a/src/include/http/IHeader.hpp Sun Mar 21 15:34:28 2010 +0100 +++ b/src/include/http/IHeader.hpp Sun Mar 21 15:55:16 2010 +0100 @@ -46,6 +46,7 @@ /** * @brief operator overloading to facilitate header access. + * If the key does not exists, it will be created. * @see IHeader::getValue */ virtual const Value & operator[](const Key & k) const = 0; @@ -53,6 +54,7 @@ /** * @brief operator overloading to facilitate header access. * @see IHeader::setValue + * @throw std::exception if the key does not exists. */ virtual Value & operator[](const Key & k) = 0;