Main Page | Modules | Data Structures | File List | Data Fields

Vital Objects
[State Object Library]


Data Structures

struct  sos_vital_t
struct  sos_vital_type_t

Typedefs

typedef sos_vital_type_t sos_vital_type_t
typedef sos_vital_t sos_vital_t

Functions

 SUL_PEER_DECLARE (vital_types)
 sos_vital_type_get_all (apr_array_header_t **array, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_type_get_name (sos_vital_type_t **type, const char *name, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_type_get_key (sos_vital_type_t **type, sul_key_t identifier, sos_fs_txn_t *txn, apr_pool_t *pool)
 SUL_PEER_DECLARE (vitals)
 sos_vital_get (sos_vital_t **vital, const char *node, const char *name, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_get_all (apr_array_header_t **array, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_get_group (apr_array_header_t **vitals, sul_key_t group_id, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_get_key (sos_vital_t **vital, sul_key_t identifier, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_get_node (apr_array_header_t **array, sul_key_t node_id, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_get_unhealthy (apr_array_header_t **array, apr_array_header_t *groups, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_get_unique (sos_vital_t **vital, const char *node, const char *name, const char *type, const char *status, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_save (sos_vital_t *vital, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vital_touch (sos_vital_t *vital, sul_boolean_t changed, const char *note, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_vitals_get_critical (apr_array_header_t **vitals, sos_fs_txn_t *txn, apr_pool_t *pool)

Typedef Documentation

typedef struct sos_vital_t sos_vital_t
 

A vital sign.

typedef struct sos_vital_type_t sos_vital_type_t
 

A vital sign type.


Function Documentation

sos_vital_get sos_vital_t **  vital,
const char *  node,
const char *  name,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
vital 
node 
name 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_get_all apr_array_header_t **  array,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
array 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_get_group apr_array_header_t **  vitals,
sul_key_t  group_id,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
vitals 
group_id 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_get_key sos_vital_t **  vital,
sul_key_t  identifier,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
vital 
identifier 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_get_node apr_array_header_t **  array,
sul_key_t  node_id,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
array 
node_id 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_get_unhealthy apr_array_header_t **  array,
apr_array_header_t *  groups,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
array 
groups 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_get_unique sos_vital_t **  vital,
const char *  node,
const char *  name,
const char *  type,
const char *  status,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
vital 
node 
name 
type 
status 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_save sos_vital_t vital,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
vital 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_touch sos_vital_t vital,
sul_boolean_t  changed,
const char *  note,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
vital 
changed 
note 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_type_get_all apr_array_header_t **  array,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
array 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_type_get_key sos_vital_type_t **  type,
sul_key_t  identifier,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
type 
identifier 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sos_vital_type_get_name sos_vital_type_t **  type,
const char *  name,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
type 
name 
txn A database transaction.
pool Memory pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.


Generated on Wed Apr 28 09:38:38 2004 for State by doxygen 1.3.5