author | Michael Krelin <hacker@klever.net> | 2007-01-11 00:58:24 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-01-11 00:58:24 (UTC) |
commit | a6a0c64df62882893b0e3d3566dc828e7fe4e328 (patch) (side-by-side diff) | |
tree | 4d4948b8852e46e3f49ebd413f8ab84f703a76d0 | |
parent | 06eaf00c48fc563245b85c2be4b8b5a03ef2cfe9 (diff) | |
download | libopkele-a6a0c64df62882893b0e3d3566dc828e7fe4e328.zip libopkele-a6a0c64df62882893b0e3d3566dc828e7fe4e328.tar.gz libopkele-a6a0c64df62882893b0e3d3566dc828e7fe4e328.tar.bz2 |
fixed a definition in header
-rw-r--r-- | include/opkele/extension.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/opkele/extension.h b/include/opkele/extension.h index 3fb5f6e..a9d301b 100644 --- a/include/opkele/extension.h +++ b/include/opkele/extension.h @@ -1,26 +1,26 @@ -#ifndef __OPKELE_EXTENSIONS_H -#define __OPKELE_EXTENSIONS_H +#ifndef __OPKELE_EXTENSION_H +#define __OPKELE_EXTENSION_H /** * @file * @brief extensions framework basics */ #include <opkele/types.h> /** * @brief the main opkele namespace */ namespace opkele { /** * OpenID consumer extension hooks base class */ class extension_t { public: /** * hook called by consumer before submitting data to OpenID server. * It is supposed to manipulate parameters list. * @param p parameters about to be submitted to server * @param identity identity being verified. It may differ from the * one available in parameters list in case of delegation @@ -35,25 +35,25 @@ namespace opkele { * @param identity identity confirmed. May differ from the one * available in parameters list in case of delegation. May also be * empty which means - extract one from parameters */ virtual void id_res_hook(const params_t& p,const params_t& sp,const string& identity); /** * hook called by server before returning information to consumer. * The hook may manipulate output parameters. It is important to * note that modified pout["signed"] is used for signing response. * @param pin request parameters list * @param put response parameters list */ virtual void checkid_hook(const params_t& pin,params_t& pout); /** * Casts the object to pointer to itself. For convenient passing * of pointer. */ operator extension_t*(void) { return this; } }; } -#endif /* __OPKELE_EXTENSIONS_H */ +#endif /* __OPKELE_EXTENSION_H */ |