#include "model.h"
Functions | |
| int32_t | aw_model_node2groups (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodeid, aw_model_node2group_t *node2group) |
| Init itertator to update a node's group association for alerts. Call node2group->iter.next() until <= 0 . | |
| int32_t | aw_model_node_create (aw_model_t *model, const aw_model_userhandle_t *handle, const byte_t *name) |
| Create a node record with assoc name. | |
| int32_t | aw_model_node_list (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t deleted, aw_model_node_listing_t *node_listing) |
| Itertator to fill listing with data from node table. Call node_listing->iter.next() until <= 0 . | |
| int32_t | aw_model_node_list_by_nodegrp (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodegrpid, u_int32_t deleted, aw_model_node_listing_t *node_listing) |
| Itertator to fill listing with data from node table for a nodegrp. Call node_listing->iter.next() until <= 0 . | |
| int32_t | aw_model_node_nodegrp_slist (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodegrpid, aw_model_node_slisting_t *node_slisting) |
| Init itertator to fill listing with data from node table for nodegrp. Call node_slisting->iter.next() until <= 0 . | |
| int32_t | aw_model_node_notnodegrp_slist (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodegrpid, aw_model_node_slisting_t *node_slisting) |
| Init itertator to fill listing with data from node table for nodes NOT assoc w/nodegrp. Call node_slisting->iter.next() until <= 0 . | |
| int32_t | aw_model_node_outages (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t limit, aw_model_node_listing_t *node_listing) |
| Itertator to fill listing with data from node table for thos with outages. Call node_listing->iter.next() until <= 0 . | |
| int32_t | aw_model_node_query (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodeid, aw_model_node_detail_t *nodedetail) |
| Fill node with data from node table. | |
| int32_t | aw_model_node_update (aw_model_t *model, const aw_model_userhandle_t *handle, const aw_model_node_detail_t *updated_nodedetail) |
| Update node record. | |
| int32_t | aw_model_nodegrp2nodes (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t append, u_int32_t nodegrpid, aw_model_nodegrp2node_t *nodegrp2node) |
| Init itertator to update nodegrp membership. Call nodegrp2node->iter.next() until <= 0 . | |
| int32_t | aw_model_nodegrp_apply_active (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodegrpid, u_int32_t val) |
| Set active indicator for all nodes in nodegrp. | |
| int32_t | aw_model_nodegrp_apply_deleted (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodegrpid, u_int32_t val) |
| Set deleted indicator for all nodes in nodegrp. | |
| int32_t | aw_model_nodegrp_create (aw_model_t *model, const aw_model_userhandle_t *handle, const byte_t *name) |
| Create a nodegrp record with assoc name. | |
| int32_t | aw_model_nodegrp_list (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t deleted, aw_model_nodegrp_listing_t *nodegrp_listing) |
| Itertator to fill listing with data from nodegrp table. Call nodegrp_listing->iter.next() until <= 0 . | |
| int32_t | aw_model_nodegrp_query (aw_model_t *model, const aw_model_userhandle_t *handle, u_int32_t nodegrpid, aw_model_nodegrp_t *nodegrp) |
| Fill nodegrp with data from nodegrp table. | |
| int32_t | aw_model_nodegrp_update (aw_model_t *model, const aw_model_userhandle_t *handle, const aw_model_nodegrp_t *updated_nodegrp) |
| Update nodegrp record. | |
|
||||||||||||||||||||
|
Init itertator to update a node's group association for alerts. Call node2group->iter.next() until <= 0 . aw_model_node2groups
|
|
||||||||||||||||
|
Create a node record with assoc name. aw_model_node_create
|
|
||||||||||||||||||||
|
Itertator to fill listing with data from node table. Call node_listing->iter.next() until <= 0 . aw_model_node_list
|
|
||||||||||||||||||||||||
|
Itertator to fill listing with data from node table for a nodegrp. Call node_listing->iter.next() until <= 0 . aw_model_node_list_by_nodegrp
|
|
||||||||||||||||||||
|
Init itertator to fill listing with data from node table for nodegrp. Call node_slisting->iter.next() until <= 0 . aw_model_node_nodegrp_slist
|
|
||||||||||||||||||||
|
Init itertator to fill listing with data from node table for nodes NOT assoc w/nodegrp. Call node_slisting->iter.next() until <= 0 . aw_model_node_notnodegrp_slist
|
|
||||||||||||||||||||
|
Itertator to fill listing with data from node table for thos with outages. Call node_listing->iter.next() until <= 0 . aw_model_node_outages
|
|
||||||||||||||||||||
|
Fill node with data from node table. aw_model_node_query
|
|
||||||||||||||||
|
Update node record. aw_model_node_update
|
|
||||||||||||||||||||||||
|
Init itertator to update nodegrp membership. Call nodegrp2node->iter.next() until <= 0 . aw_model_nodegrp2nodes
|
|
||||||||||||||||||||
|
Set active indicator for all nodes in nodegrp. aw_model_nodegrp_apply_active
|
|
||||||||||||||||||||
|
Set deleted indicator for all nodes in nodegrp. aw_model_nodegrp_apply_deleted
|
|
||||||||||||||||
|
Create a nodegrp record with assoc name. aw_model_nodegrp_create
|
|
||||||||||||||||||||
|
Itertator to fill listing with data from nodegrp table. Call nodegrp_listing->iter.next() until <= 0 . aw_model_nodegrp_list
|
|
||||||||||||||||||||
|
Fill nodegrp with data from nodegrp table. aw_model_nodegrp_query
|
|
||||||||||||||||
|
Update nodegrp record. aw_model_nodegrp_update
|