162 const xmlChar *subsys_id,
Manage Server configuration edit transactions.
status_t agt_db_lock_init(void)
Initialize the DB-Edit-Lock subsysystem handler.
Definition: agt_db_lock.c:424
void agt_db_lock_cleanup(void)
Cleanup the DB-Edit-Lock Module.
Definition: agt_db_lock.c:491
boolean agt_db_lock_init_waiting(void)
Check if db-lock is stuck in init-waiting state.
Definition: agt_db_lock.c:950
status_t agt_db_lock_request(agt_cfg_transaction_t *txcb)
Request the DB-Edit-Lock.
Definition: agt_db_lock.c:598
void agt_db_lock_subsys_gone(const xmlChar *subsys_id)
Called when the subsystem is gone to cleanup any db-lock state in progress.
Definition: agt_db_lock.c:917
status_t agt_db_lock_set_owner(const xmlChar *subsys_id, int subsys_fd)
Set the subsystem that owns the DB-Edit-Lock.
Definition: agt_db_lock.c:518
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.
Definition: agt_db_lock.c:818
boolean agt_db_lock_needed(void)
Check if lock is needed.
Definition: agt_db_lock.c:577
status_t agt_db_lock_release(void)
Release the DB-Edit-Lock.
Definition: agt_db_lock.c:755
status_t
global error return code
Definition: status_enum.h:210
ycontrol_msgbody_t
YControl message body types.
Definition: ycontrol_types.h:85
global error status code enumerations
Transaction Control Block.
Definition: agt_cfg.h:235
one value to match one type
Definition: val.h:912
Value Node Basic Support.
YumaPro Subsystem Control Protocol.