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

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

00001 /* ----------------------------------------------------------------------------
00002  * $Id: sos_status.h,v 1.4 2003/10/06 20:47:48 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SOS_STATUS_H_HEADER__)
00006 #define _INCLUDED_SOS_STATUS_H_HEADER__
00007 
00014 SUL_PEER_DECLARE(statuses);
00015 
00019 typedef struct sos_status_t
00020 {
00021   sul_key_t identifier;
00022   char *label;
00023   apr_int32_t value;
00024   double degree;
00025 } sos_status_t;
00026 
00035 SOS_DECLARE(sul_error_t *)
00036 sos_status_get_all(apr_array_header_t **array, sos_fs_txn_t *txn,
00037                    apr_pool_t *pool);
00038 
00048 SOS_DECLARE(sul_error_t *)
00049 sos_status_get_label(sos_status_t **status, const char *label,
00050                      sos_fs_txn_t *txn, apr_pool_t *pool);
00051 
00061 SOS_DECLARE(sul_error_t *)
00062 sos_status_get_key(sos_status_t **status, sul_key_t identifier, 
00063                    sos_fs_txn_t *txn, apr_pool_t *pool);
00064 
00067 #endif

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