![]() |
yumapro
23.10T-11
YumaPro SDK
|
Support for the Global Callbacks [RPC, Action, EDIT2, EDIT3, GET2]. More...
#include "agt_rpc.h"
#include "agt_action.h"
#include "rpc.h"
#include "ses.h"
#include "status_enum.h"
#include "val.h"
#include "xml_util.h"
Go to the source code of this file.
Data Structures | |
struct | agt_glob_cbset_t |
the Global Control Block stores a set of callbacks for each Global Callback [RPC, Action, EDIT2, EDIT3, GET2] More... | |
Functions | |
status_t | agt_glob_init (void) |
Initialize the Action handler. More... | |
void | agt_glob_cleanup (void) |
Cleanup the Global handler. More... | |
agt_glob_cbset_t * | agt_glob_get_cbset (void) |
Get the Global Cbset structure. More... | |
agt_rpc_method_t * | agt_glob_get_rpc_cbfn (obj_template_t *obj) |
Find RPC callback function if any for a specific OBJ. More... | |
agt_action_cb_t * | agt_glob_get_action_cbfn (obj_template_t *obj) |
Find Action callback function if any for a specific OBJ. More... | |
agt_cb_fn_t | agt_glob_get_edit2_cbfn (obj_template_t *obj) |
Find EDIT2 callback function if any for a specific OBJ. More... | |
agt_edit3_fn_t | agt_glob_get_edit3_cbfn (obj_template_t *obj) |
Find EDIT3 callback function if any for a specific OBJ. More... | |
boolean | agt_glob_has_rpc_callback (obj_template_t *obj) |
Check there is RPC callback. More... | |
boolean | agt_glob_has_action_callback (obj_template_t *obj) |
Check there is Action callback. More... | |
boolean | agt_glob_has_edit_callback (obj_template_t *obj) |
Check there is EDIT2 or EDIT3 callback. More... | |
status_t | agt_glob_register_rpc (agt_rpc_phase_t phase, agt_rpc_method_t cbfn) |
add callback for 1 phase of RPC processing More... | |
void | agt_glob_unregister_rpc (void) |
Unregister Global RPC callbacks. More... | |
status_t | agt_glob_register_action (agt_rpc_phase_t phase, agt_action_cb_t action_cb) |
add callback for 1 phase of Global Action processing More... | |
void | agt_glob_unregister_action (void) |
remove all Global callbacks for all phases of action processing More... | |
status_t | agt_glob_register_edit2 (agt_cb_fn_t cbfn) |
Register a Global EDIT2 callback. More... | |
status_t | agt_glob_register_edit3 (agt_edit3_fn_t cbfn) |
Register a Global EDIT3 callback. More... | |
void | agt_glob_unregister_edit (void) |
Unregister Global EDIT callbacks. More... | |
status_t | agt_glob_register_get (getcb_fn2_t cbfn) |
Register a Global GET2 callback. More... | |
void | agt_glob_unregister_get (void) |
Unregister Global GET2 callbacks. More... | |
boolean | agt_glob_edit2_enabled (void) |
Get the Global EDIT2 callbacks enabled flag. More... | |
boolean | agt_glob_edit3_enabled (void) |
Get the Global EDIT3 callbacks enabled flag. More... | |
status_t | agt_glob_setup_subsysQ (const xmlChar *subsys_id, agt_cb_calltype_t calltype) |
Malloc and init a new header for a subsystem. More... | |
dlq_hdr_t * | agt_glob_get_subsysQ (void) |
Get the Global callbacks subsystem Queue. More... | |
void | agt_glob_clean_subsysQ (void) |
Clean the SIL-SA subsysQ in cbset. More... | |
boolean | agt_glob_edit2_allowed (obj_template_t *obj) |
Check if EDIT2 or EDIT3 are allowed to be invoked. More... | |
Support for the Global Callbacks [RPC, Action, EDIT2, EDIT3, GET2].