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

Notification Objects
[State Object Library]


Data Structures

struct  sos_pending_notif_t

Typedefs

typedef sos_pending_notif_t sos_pending_notif_t

Functions

 sos_pending_notif_create (sul_key_t node_id, sul_key_t vital_id, sul_key_t history_id, const char *type, apr_int32_t interval, apr_pool_t *pool)
 sos_pending_notif_get_all (apr_array_header_t **array, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_save (sos_pending_notif_t *notif, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_delete_all (sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_delete_others (sos_pending_notif_t *notif, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_delete (sos_pending_notif_t *notif, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_check (sos_pending_notif_t *notif, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_are_fresher (apr_int32_t *fresher, sul_key_t target_id, apr_array_header_t *arr, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_get_for_nodes (apr_array_header_t **notifs, apr_array_header_t *arr, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_delete_for_nodes (apr_array_header_t *arr, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_pending_notif_vital_is_fresher (sos_pending_notif_t *notif, sos_vital_t *vital, apr_int32_t *fresher, sos_fs_txn_t *txn, apr_pool_t *pool)

Typedef Documentation

typedef struct sos_pending_notif_t sos_pending_notif_t
 

A pending notification, and all of its goodies that are related to her.


Function Documentation

sos_pending_notif_are_fresher apr_int32_t *  fresher,
sul_key_t  target_id,
apr_array_header_t *  arr,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
fresher 
target_id 
arr 
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_pending_notif_check sos_pending_notif_t notif,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
notif 
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_pending_notif_create sul_key_t  node_id,
sul_key_t  vital_id,
sul_key_t  history_id,
const char *  type,
apr_int32_t  interval,
apr_pool_t *  pool
 

Parameters:
node_id 
vital_id 
history_id 
type 
interval 
pool Memory pool to allocate overhead from.
Returns:

sos_pending_notif_delete sos_pending_notif_t notif,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
notif 
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_pending_notif_delete_all sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
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_pending_notif_delete_for_nodes apr_array_header_t *  arr,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
arr 
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_pending_notif_delete_others sos_pending_notif_t notif,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
notif 
txn 
pool 
Returns:

sos_pending_notif_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_pending_notif_get_for_nodes apr_array_header_t **  notifs,
apr_array_header_t *  arr,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
notifs 
arr 
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_pending_notif_save sos_pending_notif_t notif,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
notif 
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