summaryrefslogtreecommitdiffabout
path: root/include/opkele/extension.h
Side-by-side diff
Diffstat (limited to 'include/opkele/extension.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/extension.h6
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,18 +1,18 @@
-#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
*/
@@ -43,17 +43,17 @@ namespace opkele {
* 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 */