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

Task Schedules
[State Object Library]


Data Structures

struct  sos_task_schedule_t

Typedefs

typedef sos_task_schedule_t sos_task_schedule_t

Functions

 SUL_PEER_DECLARE (task_schedules)
 sos_task_schedule_get_task (sos_task_schedule_t **ts, const char *task_name, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_task_schedule_save (sos_task_schedule_t *ts, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_task_schedule_update (sos_task_schedule_t *ts, sos_fs_txn_t *txn, apr_pool_t *pool)
 sos_task_schedule_get_pending (apr_array_header_t **array, sos_fs_txn_t *txn, apr_pool_t *pool)

Typedef Documentation

typedef struct sos_task_schedule_t sos_task_schedule_t
 

Task schedule.


Function Documentation

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

Parameters:
array Array to receive the pending task schedules.
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_task_schedule_get_task sos_task_schedule_t **  ts,
const char *  task_name,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
ts Pointer to receive the task schedule when it's found.
task_name Name of the task to grab the schedule information for. Task names should be unique, that's also enforced in the configuration file.
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_task_schedule_save sos_task_schedule_t ts,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
ts A task schedule.
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_task_schedule_update sos_task_schedule_t ts,
sos_fs_txn_t txn,
apr_pool_t *  pool
 

Parameters:
ts A task schedule.
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