From 06eaf00c48fc563245b85c2be4b8b5a03ef2cfe9 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 11 Jan 2007 00:57:06 +0000 Subject: introduced extension hooks framework --- (limited to 'lib/extension.cc') diff --git a/lib/extension.cc b/lib/extension.cc new file mode 100644 index 0000000..bd2195d --- a/dev/null +++ b/lib/extension.cc @@ -0,0 +1,15 @@ +#include +#include + +namespace opkele { + + void extension_t::checkid_hook(params_t& p,const string& identity) { + throw not_implemented(OPKELE_CP_ "Consumer checkid_hook not implemented"); + } + void id_res_hook(const params_t& p,const params_t& sp,const string& identity) { + throw not_implemented(OPKELE_CP_ "Consumer id_res_hook not implemented"); + } + void checkid_hook(const params_t& pin,params_t& pout) { + throw not_implemented(OPKELE_CP_ "Server checkid_hook not implemented"); + } +} -- cgit v0.9.0.2