1/* This is a generated file */ 2#ifndef __kcm_protos_h__ 3#define __kcm_protos_h__ 4#ifndef DOXY 5 6#include <stdarg.h> 7 8#ifdef __cplusplus 9extern "C" { 10#endif 11 12krb5_error_code 13kcm_access ( 14 krb5_context /*context*/, 15 kcm_client */*client*/, 16 kcm_operation /*opcode*/, 17 kcm_ccache /*ccache*/); 18 19krb5_error_code 20kcm_ccache_acquire ( 21 krb5_context /*context*/, 22 kcm_ccache /*ccache*/, 23 krb5_creds **/*credp*/); 24 25krb5_error_code 26kcm_ccache_destroy ( 27 krb5_context /*context*/, 28 const char */*name*/); 29 30krb5_error_code 31kcm_ccache_destroy_client ( 32 krb5_context /*context*/, 33 kcm_client */*client*/, 34 const char */*name*/); 35 36krb5_error_code 37kcm_ccache_destroy_if_empty ( 38 krb5_context /*context*/, 39 kcm_ccache /*ccache*/); 40 41krb5_error_code 42kcm_ccache_enqueue_default ( 43 krb5_context /*context*/, 44 kcm_ccache /*ccache*/, 45 krb5_creds */*newcred*/); 46 47struct kcm_creds * 48kcm_ccache_find_cred_uuid ( 49 krb5_context /*context*/, 50 kcm_ccache /*ccache*/, 51 kcmuuid_t /*uuid*/); 52 53char * 54kcm_ccache_first_name (kcm_client */*client*/); 55 56krb5_error_code 57kcm_ccache_gen_new ( 58 krb5_context /*context*/, 59 pid_t /*pid*/, 60 uid_t /*uid*/, 61 gid_t /*gid*/, 62 kcm_ccache */*ccache*/); 63 64krb5_error_code 65kcm_ccache_get_uuids ( 66 krb5_context /*context*/, 67 kcm_client */*client*/, 68 kcm_operation /*opcode*/, 69 krb5_storage */*sp*/); 70 71krb5_error_code 72kcm_ccache_new ( 73 krb5_context /*context*/, 74 const char */*name*/, 75 kcm_ccache */*ccache*/); 76 77krb5_error_code 78kcm_ccache_new_client ( 79 krb5_context /*context*/, 80 kcm_client */*client*/, 81 const char */*name*/, 82 kcm_ccache */*ccache_p*/); 83 84char *kcm_ccache_nextid ( 85 pid_t /*pid*/, 86 uid_t /*uid*/, 87 gid_t /*gid*/); 88 89krb5_error_code 90kcm_ccache_refresh ( 91 krb5_context /*context*/, 92 kcm_ccache /*ccache*/, 93 krb5_creds **/*credp*/); 94 95krb5_error_code 96kcm_ccache_remove_cred ( 97 krb5_context /*context*/, 98 kcm_ccache /*ccache*/, 99 krb5_flags /*whichfields*/, 100 const krb5_creds */*mcreds*/); 101 102krb5_error_code 103kcm_ccache_remove_cred_internal ( 104 krb5_context /*context*/, 105 kcm_ccache /*ccache*/, 106 krb5_flags /*whichfields*/, 107 const krb5_creds */*mcreds*/); 108 109krb5_error_code 110kcm_ccache_remove_creds ( 111 krb5_context /*context*/, 112 kcm_ccache /*ccache*/); 113 114krb5_error_code 115kcm_ccache_remove_creds_internal ( 116 krb5_context /*context*/, 117 kcm_ccache /*ccache*/); 118 119krb5_error_code 120kcm_ccache_resolve ( 121 krb5_context /*context*/, 122 const char */*name*/, 123 kcm_ccache */*ccache*/); 124 125krb5_error_code 126kcm_ccache_resolve_by_uuid ( 127 krb5_context /*context*/, 128 kcmuuid_t /*uuid*/, 129 kcm_ccache */*ccache*/); 130 131krb5_error_code 132kcm_ccache_resolve_client ( 133 krb5_context /*context*/, 134 kcm_client */*client*/, 135 kcm_operation /*opcode*/, 136 const char */*name*/, 137 kcm_ccache */*ccache*/); 138 139krb5_error_code 140kcm_ccache_retrieve_cred ( 141 krb5_context /*context*/, 142 kcm_ccache /*ccache*/, 143 krb5_flags /*whichfields*/, 144 const krb5_creds */*mcreds*/, 145 krb5_creds **/*credp*/); 146 147krb5_error_code 148kcm_ccache_retrieve_cred_internal ( 149 krb5_context /*context*/, 150 kcm_ccache /*ccache*/, 151 krb5_flags /*whichfields*/, 152 const krb5_creds */*mcreds*/, 153 krb5_creds **/*creds*/); 154 155krb5_error_code 156kcm_ccache_store_cred ( 157 krb5_context /*context*/, 158 kcm_ccache /*ccache*/, 159 krb5_creds */*creds*/, 160 int /*copy*/); 161 162krb5_error_code 163kcm_ccache_store_cred_internal ( 164 krb5_context /*context*/, 165 kcm_ccache /*ccache*/, 166 krb5_creds */*creds*/, 167 int /*copy*/, 168 krb5_creds **/*credp*/); 169 170krb5_error_code 171kcm_chmod ( 172 krb5_context /*context*/, 173 kcm_client */*client*/, 174 kcm_ccache /*ccache*/, 175 uint16_t /*mode*/); 176 177krb5_error_code 178kcm_chown ( 179 krb5_context /*context*/, 180 kcm_client */*client*/, 181 kcm_ccache /*ccache*/, 182 uid_t /*uid*/, 183 gid_t /*gid*/); 184 185krb5_error_code 186kcm_cleanup_events ( 187 krb5_context /*context*/, 188 kcm_ccache /*ccache*/); 189 190void 191kcm_configure ( 192 int /*argc*/, 193 char **/*argv*/); 194 195krb5_error_code 196kcm_debug_ccache (krb5_context /*context*/); 197 198krb5_error_code 199kcm_debug_events (krb5_context /*context*/); 200 201krb5_error_code 202kcm_dispatch ( 203 krb5_context /*context*/, 204 kcm_client */*client*/, 205 krb5_data */*req_data*/, 206 krb5_data */*resp_data*/); 207 208krb5_error_code 209kcm_enqueue_event ( 210 krb5_context /*context*/, 211 kcm_event */*event*/); 212 213krb5_error_code 214kcm_enqueue_event_internal ( 215 krb5_context /*context*/, 216 kcm_event */*event*/); 217 218krb5_error_code 219kcm_enqueue_event_relative ( 220 krb5_context /*context*/, 221 kcm_event */*event*/); 222 223krb5_error_code 224kcm_internal_ccache ( 225 krb5_context /*context*/, 226 kcm_ccache /*c*/, 227 krb5_ccache /*id*/); 228 229int 230kcm_is_same_session ( 231 kcm_client */*client*/, 232 uid_t /*uid*/, 233 pid_t /*session*/); 234 235void 236kcm_log ( 237 int /*level*/, 238 const char */*fmt*/, 239 ...); 240 241char* 242kcm_log_msg ( 243 int /*level*/, 244 const char */*fmt*/, 245 ...); 246 247char* 248kcm_log_msg_va ( 249 int /*level*/, 250 const char */*fmt*/, 251 va_list /*ap*/); 252 253const char * 254kcm_op2string (kcm_operation /*opcode*/); 255 256void 257kcm_openlog (void); 258 259krb5_error_code 260kcm_release_ccache ( 261 krb5_context /*context*/, 262 kcm_ccache /*c*/); 263 264krb5_error_code 265kcm_remove_event ( 266 krb5_context /*context*/, 267 kcm_event */*event*/); 268 269krb5_error_code 270kcm_retain_ccache ( 271 krb5_context /*context*/, 272 kcm_ccache /*ccache*/); 273 274krb5_error_code 275kcm_run_events ( 276 krb5_context /*context*/, 277 time_t /*now*/); 278 279void 280kcm_service ( 281 void */*ctx*/, 282 const heim_idata */*req*/, 283 const heim_icred /*cred*/, 284 heim_ipc_complete /*complete*/, 285 heim_sipc_call /*cctx*/); 286 287void 288kcm_session_add (pid_t /*session_id*/); 289 290void 291kcm_session_setup_handler (void); 292 293krb5_error_code 294kcm_zero_ccache_data ( 295 krb5_context /*context*/, 296 kcm_ccache /*cache*/); 297 298krb5_error_code 299kcm_zero_ccache_data_internal ( 300 krb5_context /*context*/, 301 kcm_ccache_data */*cache*/); 302 303#ifdef __cplusplus 304} 305#endif 306 307#endif /* DOXY */ 308#endif /* __kcm_protos_h__ */ 309