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