#ifndef CCS_CCACHE_H
#define CCS_CCACHE_H
#include "ccs_types.h"
cc_int32 ccs_ccache_new (ccs_ccache_t *out_ccache,
cc_uint32 in_cred_vers,
const char *in_name,
const char *in_principal,
ccs_ccache_list_t io_ccache_list);
cc_int32 ccs_ccache_reset (ccs_ccache_t io_ccache,
cc_uint32 in_cred_vers,
const char *in_principal);
cc_int32 ccs_ccache_swap_contents (ccs_ccache_t io_source_ccache,
ccs_ccache_t io_destination_ccache);
inline cc_int32 ccs_ccache_release (ccs_ccache_t io_ccache);
cc_int32 ccs_ccache_list_object_release (void *io_ccache);
inline cc_int32 ccs_ccache_compare_identifier (ccs_ccache_t in_ccache,
cci_identifier_t in_identifier,
cc_uint32 *out_equal);
cc_int32 ccs_ccache_list_object_compare_identifier (void *in_ccache,
cci_identifier_t in_identifier,
cc_uint32 *out_equal);
cc_int32 ccs_ccache_compare_name (ccs_ccache_t in_ccache,
const char *in_name,
cc_uint32 *out_equal);
cc_int32 ccs_ccache_notify_default_state_changed (ccs_ccache_t io_ccache,
ccs_cache_collection_t io_cache_collection,
cc_uint32 in_new_default_state);
cc_int32 ccs_ccache_find_credentials_iterator (ccs_ccache_t in_ccache,
cci_identifier_t in_identifier,
ccs_credentials_iterator_t *out_credentials_iterator);
cc_int32 ccs_ccache_write (ccs_ccache_t in_ccache,
cci_stream_t io_stream);
cc_int32 ccs_ccache_write_name (ccs_ccache_t in_ccache,
cci_stream_t io_stream);
cc_int32 ccs_ccache_handle_message (ccs_ccache_t io_ccache,
ccs_cache_collection_t io_cache_collection,
enum cci_msg_id_t in_request_name,
cci_stream_t in_request_data,
cci_stream_t *out_reply_data);
#endif