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