summaryrefslogtreecommitdiffabout
path: root/lib/extension_chain.cc
blob: 16537dcb5aa85ad58ce14c5e1f5a88eae35abf67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
    }

}