yumapro  23.10T-9
YumaPro SDK
Loading...
Searching...
No Matches
agt_glob.h File Reference

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"
Include dependency graph for agt_glob.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_tagt_glob_get_cbset (void)
 Get the Global Cbset structure. More...
 
agt_rpc_method_tagt_glob_get_rpc_cbfn (obj_template_t *obj)
 Find RPC callback function if any for a specific OBJ. More...
 
agt_action_cb_tagt_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...
 

Detailed Description

Support for the Global Callbacks [RPC, Action, EDIT2, EDIT3, GET2].