5 #ifndef CHAIN_OF_RESPONSIBILITY_H_ 6 #define CHAIN_OF_RESPONSIBILITY_H_ 59 void cor_call(
const int id,
void *arg);
void cor_set_threadsafe(int is_threadsafe)
set thredsafe
void cor_remove_function(const int id, chain_func func)
remove to chain api
void cor_clear(void)
clear all list
cor_result_e(* chain_func)(void *arg, void *ctx)
chain func
void cor_remove_chain_element_part(const int id, ChainElementPart element)
remove to chain api
ChainElementPart cor_add_function(const int id, chain_func func, void *ctx)
add to chain api
chain function element part class instance definition
void cor_call(const int id, void *arg)
call chain api
cor_result_e
chain_api result type
struct chain_element_part * ChainElementPart
ChainElementPart class definition.