4
* Copyright 2006, 2007 Massachusetts Institute of Technology.
7
* Export of this software from the United States of America may
8
* require a specific license from the United States Government.
9
* It is the responsibility of any person or organization contemplating
10
* export to obtain such a license before exporting.
12
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13
* distribute this software and its documentation for any purpose and
14
* without fee is hereby granted, provided that the above copyright
15
* notice appear in all copies and that both that copyright notice and
16
* this permission notice appear in supporting documentation, and that
17
* the name of M.I.T. not be used in advertising or publicity pertaining
18
* to distribution of the software without specific, written prior
19
* permission. Furthermore if you modify this software you must label
20
* your software as modified software and not distribute it in such a
21
* fashion that it might be confused with the original M.I.T. software.
22
* M.I.T. makes no representations about the suitability of
23
* this software for any purpose. It is provided "as is" without express
24
* or implied warranty.
31
#include "ccs_types.h"
33
cc_int32 ccs_cache_collection_list_new (ccs_cache_collection_list_t *out_list);
35
cc_int32 ccs_cache_collection_list_count (ccs_cache_collection_list_t in_list,
36
cc_uint64 *out_count);
38
cc_int32 ccs_cache_collection_list_find (ccs_cache_collection_list_t in_list,
39
cci_identifier_t in_identifier,
40
ccs_cache_collection_t *out_cache_collection);
42
cc_int32 ccs_cache_collection_list_add (ccs_cache_collection_list_t io_list,
43
ccs_cache_collection_t in_cache_collection);
45
cc_int32 ccs_cache_collection_list_remove (ccs_cache_collection_list_t io_list,
46
cci_identifier_t in_identifier);
48
cc_int32 ccs_cache_collection_list_release (ccs_cache_collection_list_t io_list);
54
cc_int32 ccs_ccache_list_new (ccs_ccache_list_t *out_list);
56
cc_int32 ccs_ccache_list_new_iterator (ccs_ccache_list_t in_list,
57
ccs_pipe_t in_client_pipe,
58
ccs_ccache_list_iterator_t *out_list_iterator);
60
cc_int32 ccs_ccache_list_count (ccs_ccache_list_t in_list,
61
cc_uint64 *out_count);
63
cc_int32 ccs_ccache_list_find (ccs_ccache_list_t in_list,
64
cci_identifier_t in_identifier,
65
ccs_ccache_t *out_ccache);
67
cc_int32 ccs_ccache_list_find_iterator (ccs_ccache_list_t in_list,
68
cci_identifier_t in_identifier,
69
ccs_ccache_list_iterator_t *out_list_iterator);
71
cc_int32 ccs_ccache_list_add (ccs_ccache_list_t io_list,
72
ccs_ccache_t in_ccache);
74
cc_int32 ccs_ccache_list_remove (ccs_ccache_list_t io_list,
75
cci_identifier_t in_identifier);
77
cc_int32 ccs_ccache_list_push_front (ccs_ccache_list_t io_list,
78
cci_identifier_t in_identifier);
80
cc_int32 ccs_ccache_list_release (ccs_ccache_list_t io_list);
83
cc_int32 ccs_ccache_list_iterator_write (ccs_ccache_list_iterator_t in_list_iterator,
84
k5_ipc_stream in_stream);
86
cc_int32 ccs_ccache_list_iterator_clone (ccs_ccache_list_iterator_t in_list_iterator,
87
ccs_ccache_list_iterator_t *out_list_iterator);
89
cc_int32 ccs_ccache_list_iterator_next (ccs_ccache_list_iterator_t io_list_iterator,
90
ccs_ccache_t *out_ccache);
92
cc_int32 ccs_ccache_list_iterator_release (ccs_ccache_list_iterator_t io_list_iterator);
98
cc_int32 ccs_credentials_list_new (ccs_credentials_list_t *out_list);
100
cc_int32 ccs_credentials_list_new_iterator (ccs_credentials_list_t in_list,
101
ccs_pipe_t in_client_pipe,
102
ccs_credentials_list_iterator_t *out_list_iterator);
104
cc_int32 ccs_credentials_list_count (ccs_credentials_list_t in_list,
105
cc_uint64 *out_count);
107
cc_int32 ccs_credentials_list_find (ccs_credentials_list_t in_list,
108
cci_identifier_t in_identifier,
109
ccs_credentials_t *out_credentials);
111
cc_int32 ccs_credentials_list_find_iterator (ccs_credentials_list_t in_list,
112
cci_identifier_t in_identifier,
113
ccs_credentials_list_iterator_t *out_list_iterator);
115
cc_int32 ccs_credentials_list_add (ccs_credentials_list_t io_list,
116
ccs_credentials_t in_credential);
118
cc_int32 ccs_credentials_list_remove (ccs_credentials_list_t io_list,
119
cci_identifier_t in_identifier);
121
cc_int32 ccs_credentials_list_release (ccs_credentials_list_t io_list);
124
cc_int32 ccs_credentials_list_iterator_write (ccs_credentials_list_iterator_t in_list_iterator,
125
k5_ipc_stream in_stream);
127
cc_int32 ccs_credentials_list_iterator_clone (ccs_credentials_list_iterator_t in_list_iterator,
128
ccs_credentials_list_iterator_t *out_list_iterator);
130
cc_int32 ccs_credentials_list_iterator_next (ccs_credentials_list_iterator_t io_list_iterator,
131
ccs_credentials_t *out_credential);
133
cc_int32 ccs_credentials_list_iterator_release (ccs_credentials_list_iterator_t io_list_iterator);
139
cc_int32 ccs_generic_list_iterator_invalidate (ccs_generic_list_iterator_t io_list_iterator);
141
#endif /* CCS_LIST_H */