![]() |
yumapro
25.10-1
YumaPro SDK
|
Server DB-API DB-Edit-Lock support module. More...
#include <xmlstring.h>#include "agt_cfg.h"#include "status_enum.h"#include "val.h"#include "ycontrol.h"
Go to the source code of this file.
Functions | |
| status_t | agt_db_lock_init (void) |
| Initialize the DB-Edit-Lock subsysystem handler. More... | |
| void | agt_db_lock_cleanup (void) |
| Cleanup the DB-Edit-Lock Module. More... | |
| status_t | agt_db_lock_set_owner (const xmlChar *subsys_id, int subsys_fd) |
| Set the subsystem that owns the DB-Edit-Lock. More... | |
| boolean | agt_db_lock_needed (void) |
| Check if lock is needed. More... | |
| status_t | agt_db_lock_request (agt_cfg_transaction_t *txcb) |
| Request the DB-Edit-Lock. More... | |
| status_t | agt_db_lock_release (void) |
| Release the DB-Edit-Lock. More... | |
| status_t | agt_db_lock_handle_response (uint32 msgid, const xmlChar *subsys_id, ycontrol_msgbody_t msgbody_type, val_value_t *msgbody) |
| Handle the db-lock response. More... | |
| void | agt_db_lock_subsys_gone (const xmlChar *subsys_id) |
| Called when the subsystem is gone to cleanup any db-lock state in progress. More... | |
| boolean | agt_db_lock_init_waiting (void) |
| Check if db-lock is stuck in init-waiting state. More... | |
Server DB-API DB-Edit-Lock support module.