~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/ccapi/server/ccs_list.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2009-05-07 16:16:34 UTC
  • mfrom: (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090507161634-xqyk0s9na0le4flj
Tags: 1.7dfsg~beta1-4
When  decrypting the TGS response fails with the subkey, try with the
session key to work around Heimdal bug, Closes: #527353 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Header$
 
3
 *
 
4
 * Copyright 2006, 2007 Massachusetts Institute of Technology.
 
5
 * All Rights Reserved.
 
6
 *
 
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.
 
11
 *
 
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.
 
25
 */
 
26
 
 
27
#ifndef CCS_LIST_H
 
28
#define CCS_LIST_H
 
29
 
 
30
 
 
31
#include "ccs_types.h"
 
32
 
 
33
cc_int32 ccs_cache_collection_list_new (ccs_cache_collection_list_t *out_list);
 
34
 
 
35
cc_int32 ccs_cache_collection_list_count (ccs_cache_collection_list_t  in_list,
 
36
                                          cc_uint64                   *out_count);
 
37
 
 
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);
 
41
 
 
42
cc_int32 ccs_cache_collection_list_add (ccs_cache_collection_list_t io_list,
 
43
                                        ccs_cache_collection_t      in_cache_collection);
 
44
 
 
45
cc_int32 ccs_cache_collection_list_remove (ccs_cache_collection_list_t io_list,
 
46
                                           cci_identifier_t            in_identifier);
 
47
 
 
48
cc_int32 ccs_cache_collection_list_release (ccs_cache_collection_list_t io_list);
 
49
 
 
50
#ifdef TARGET_OS_MAC
 
51
#pragma mark -
 
52
#endif
 
53
 
 
54
cc_int32 ccs_ccache_list_new (ccs_ccache_list_t *out_list);
 
55
 
 
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);
 
59
 
 
60
cc_int32 ccs_ccache_list_count (ccs_ccache_list_t  in_list,
 
61
                                cc_uint64         *out_count);
 
62
 
 
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);
 
66
 
 
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);
 
70
 
 
71
cc_int32 ccs_ccache_list_add (ccs_ccache_list_t io_list,
 
72
                              ccs_ccache_t      in_ccache);
 
73
 
 
74
cc_int32 ccs_ccache_list_remove (ccs_ccache_list_t io_list,
 
75
                                 cci_identifier_t  in_identifier);
 
76
 
 
77
cc_int32 ccs_ccache_list_push_front (ccs_ccache_list_t io_list,
 
78
                                     cci_identifier_t  in_identifier);
 
79
 
 
80
cc_int32 ccs_ccache_list_release (ccs_ccache_list_t io_list);
 
81
 
 
82
 
 
83
cc_int32 ccs_ccache_list_iterator_write (ccs_ccache_list_iterator_t in_list_iterator,
 
84
                                         k5_ipc_stream               in_stream);
 
85
 
 
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);
 
88
 
 
89
cc_int32 ccs_ccache_list_iterator_next (ccs_ccache_list_iterator_t  io_list_iterator,
 
90
                                        ccs_ccache_t               *out_ccache);
 
91
 
 
92
cc_int32 ccs_ccache_list_iterator_release (ccs_ccache_list_iterator_t io_list_iterator);
 
93
 
 
94
#ifdef TARGET_OS_MAC
 
95
#pragma mark -
 
96
#endif
 
97
 
 
98
cc_int32 ccs_credentials_list_new (ccs_credentials_list_t *out_list);
 
99
 
 
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);
 
103
 
 
104
cc_int32 ccs_credentials_list_count (ccs_credentials_list_t  in_list,
 
105
                                     cc_uint64              *out_count);
 
106
 
 
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);
 
110
 
 
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);
 
114
 
 
115
cc_int32 ccs_credentials_list_add (ccs_credentials_list_t io_list,
 
116
                                   ccs_credentials_t      in_credential);
 
117
 
 
118
cc_int32 ccs_credentials_list_remove (ccs_credentials_list_t io_list,
 
119
                                      cci_identifier_t       in_identifier);
 
120
 
 
121
cc_int32 ccs_credentials_list_release (ccs_credentials_list_t io_list);
 
122
 
 
123
 
 
124
cc_int32 ccs_credentials_list_iterator_write (ccs_credentials_list_iterator_t in_list_iterator,
 
125
                                              k5_ipc_stream                    in_stream);
 
126
 
 
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);
 
129
 
 
130
cc_int32 ccs_credentials_list_iterator_next (ccs_credentials_list_iterator_t  io_list_iterator,
 
131
                                             ccs_credentials_t               *out_credential);
 
132
 
 
133
cc_int32 ccs_credentials_list_iterator_release (ccs_credentials_list_iterator_t io_list_iterator);
 
134
 
 
135
#ifdef TARGET_OS_MAC
 
136
#pragma mark -
 
137
#endif
 
138
 
 
139
cc_int32 ccs_generic_list_iterator_invalidate (ccs_generic_list_iterator_t io_list_iterator);
 
140
 
 
141
#endif /* CCS_LIST_H */