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

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

00001 /* ----------------------------------------------------------------------------
00002  * $Id: sos_realms.h,v 1.3 2003/10/06 20:47:46 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SOS_REALMS_H_HEADER__)
00006 #define _INCLUDED_SOS_REALMS_H_HEADER__
00007 
00014 SUL_PEER_DECLARE(realms);
00015 
00020 typedef struct sos_realm_t
00021 {
00022   sul_key_t identifier;
00023   sul_key_t mother_id;
00024   char *name;
00025 } sos_realm_t;
00026 
00037 SOS_DECLARE(sul_error_t *)
00038 sos_realm_get_name(sos_realm_t **realm, const char *name, sos_realm_t *mother, 
00039                    sos_fs_txn_t *txn, apr_pool_t *pool);
00040 
00051 SOS_DECLARE(sul_error_t *)
00052 sos_realm_get_name_create(sos_realm_t **realm, const char *name,
00053                           sos_realm_t *mother, sos_fs_txn_t *txn,
00054                           apr_pool_t *pool);
00055 
00064 SOS_DECLARE(sul_error_t *)
00065 sos_realm_save(sos_realm_t *realm, sos_fs_txn_t *txn, apr_pool_t *pool);
00066 
00076 SOS_DECLARE(sul_error_t *)
00077 sos_realm_get_realms(apr_array_header_t **sub, sos_realm_t *realm,
00078                      sos_fs_txn_t *txn, apr_pool_t *pool);
00079 
00082 #endif

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