summaryrefslogtreecommitdiffabout
path: root/lib/extension_chain.cc
authorMichael Krelin <hacker@klever.net>2007-01-11 23:52:29 (UTC)
committer Michael Krelin <hacker@klever.net>2007-01-11 23:52:29 (UTC)
commitf5eb33d7a9c296e3fa7bde9b678f0e1027a9bf88 (patch) (side-by-side diff)
treef2936775dd8a6a817a1d8f1b5add8cc6d0841796 /lib/extension_chain.cc
parent709e399023109847ff747b87dca371078fd95868 (diff)
downloadlibopkele-f5eb33d7a9c296e3fa7bde9b678f0e1027a9bf88.zip
libopkele-f5eb33d7a9c296e3fa7bde9b678f0e1027a9bf88.tar.gz
libopkele-f5eb33d7a9c296e3fa7bde9b678f0e1027a9bf88.tar.bz2
extension chain
Diffstat (limited to 'lib/extension_chain.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/extension_chain.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/extension_chain.cc b/lib/extension_chain.cc
new file mode 100644
index 0000000..16537dc
--- a/dev/null
+++ b/lib/extension_chain.cc
@@ -0,0 +1,16 @@
+#include <cstdarg>
+#include <opkele/extension_chain.h>
+
+namespace opkele {
+
+ void extension_chain_t::checkid_hook(params_t& p,const string& identity) {
+ for(iterator i=begin();i!=end();++i) (*i)->checkid_hook(p,identity);
+ }
+ void extension_chain_t::id_res_hook(const params_t& p,const params_t& sp,const string& identity) {
+ for(iterator i=begin();i!=end();++i) (*i)->id_res_hook(p,sp,identity);
+ }
+ void extension_chain_t::checkid_hook(const params_t& pin,params_t& pout) {
+ for(iterator i=begin();i!=end();++i) (*i)->checkid_hook(pin,pout);
+ }
+
+}