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

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

00001 /* ----------------------------------------------------------------------------
00002  * $Id: sos_packages.h,v 1.5 2003/10/06 20:47:45 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SOS_PACKAGES_H_HEADER__)
00006 #define _INCLUDED_SOS_PACKAGES_H_HEADER__
00007 
00014 SUL_PEER_DECLARE(packages);
00015 
00021 typedef struct sos_package_t
00022 {
00023   sul_key_t identifier;
00024   sul_key_t node_id;
00025   apr_time_t stamp;
00026 } sos_package_t;
00027 
00037 SOS_DECLARE(sul_error_t *)
00038 sos_package_create(sos_package_t **pkg, sos_node_t *node, apr_pool_t *pool);
00039 
00050 SOS_DECLARE(sul_error_t *)
00051 sos_package_get_unique(sos_package_t **pkg, sos_node_t *node, 
00052                        sos_fs_txn_t *txn, apr_pool_t *pool);
00053 
00063 SOS_DECLARE(sul_error_t *)
00064 sos_package_save(sos_package_t *package, sos_fs_txn_t *txn, apr_pool_t *pool);
00065 
00068 #endif

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