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

/extra/work/state-dev/src/sos/sos_wkitem.h

00001 /* ----------------------------------------------------------------------------
00002  * $Id: sos_wkitem.h,v 1.4 2004/04/01 19:23:56 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SOS_WKITEMS_H_HEADER__)
00006 #define _INCLUDED_SOS_WKITEMS_H_HEADER__
00007 
00014 SUL_PEER_DECLARE(wkitems);
00015 
00019 typedef struct sos_wkitem_t
00020 {
00021   sul_key_t identifier;
00022   sul_key_t node_id;
00023   char *creator;
00024   apr_time_t stamp;
00025   char *text;
00026   sul_key_t w_status_id;
00027   sul_key_t v_status_id;
00028 } sos_wkitem_t;
00029 
00038 SOS_DECLARE(sul_error_t *)
00039 sos_wkitems_get_all(apr_array_header_t **array, sos_fs_txn_t *txn,
00040                     apr_pool_t *pool);
00041 
00050 SOS_DECLARE(sul_error_t *)
00051 sos_wkitems_get_all_unresolved(apr_array_header_t **array, sos_fs_txn_t *txn,
00052                                apr_pool_t *pool);
00053 
00063 SOS_DECLARE(sul_error_t *)
00064 sos_wkitems_get_node_unresolved(apr_array_header_t **array, sos_fs_txn_t *txn,
00065                                 sul_key_t node_id, apr_pool_t *pool);
00066 
00075 SOS_DECLARE(sul_error_t *)
00076 sos_wkitems_get_node_critical(sos_wkitem_t **wkitem, sul_key_t node_id, 
00077                               sos_fs_txn_t *txn, apr_pool_t *pool);
00078 
00081 #endif

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