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

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

00001 /* ----------------------------------------------------------------------------
00002  * $Id: sos_series.h,v 1.4 2003/10/06 20:47:46 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SOS_SERIES_H_HEADER__)
00006 #define _INCLUDED_SOS_SERIES_H_HEADER__
00007 
00014 SUL_PEER_DECLARE(series);
00015 
00020 typedef struct sos_series_t
00021 {
00022   sul_key_t identifier;
00023   sul_key_t type_id;
00024   sul_key_t realm_id;
00025   char *key;
00026   sos_data_type_t *type;
00027   sos_realm_t *realm;
00028 } sos_series_t;
00029 
00041 SOS_DECLARE(sul_error_t *)
00042 sos_series_create(sos_series_t **series, sos_data_type_t *type,
00043                   sos_realm_t *realm, const char *key, apr_pool_t *pool);
00044 
00056 SOS_DECLARE(sul_error_t *)
00057 sos_series_get(sos_series_t **series, sos_realm_t *realm, const char *key, 
00058                sos_fs_txn_t *txn, apr_pool_t *pool);
00059 
00070 SOS_DECLARE(sul_error_t *)
00071 sos_series_get_realm(apr_array_header_t **series, sos_realm_t *realm,
00072                      sos_fs_txn_t *txn, apr_pool_t *pool);
00073 
00086 SOS_DECLARE(sul_error_t *)
00087 sos_series_get_create(sos_series_t **series, sos_data_type_t *type,
00088                       sos_realm_t *realm, const char *key,
00089                       sos_fs_txn_t *txn, apr_pool_t *pool);
00090 
00101 SOS_DECLARE(sul_error_t *)
00102 sos_series_type_get(sos_data_type_t **type, sos_series_t *series,
00103                     sos_fs_txn_t *txn, apr_pool_t *pool);
00104 
00114 SOS_DECLARE(sul_error_t *)
00115 sos_series_save(sos_series_t *series, sos_fs_txn_t *txn, apr_pool_t *pool);
00116 
00119 #endif

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