1/* This is a generated file */ 2#ifndef __kadm5_protos_h__ 3#define __kadm5_protos_h__ 4 5#include <stdarg.h> 6 7#ifdef __cplusplus 8extern "C" { 9#endif 10 11kadm5_ret_t 12kadm5_ad_init_with_password ( 13 const char */*client_name*/, 14 const char */*password*/, 15 const char */*service_name*/, 16 kadm5_config_params */*realm_params*/, 17 unsigned long /*struct_version*/, 18 unsigned long /*api_version*/, 19 void **/*server_handle*/); 20 21kadm5_ret_t 22kadm5_ad_init_with_password_ctx ( 23 krb5_context /*context*/, 24 const char */*client_name*/, 25 const char */*password*/, 26 const char */*service_name*/, 27 kadm5_config_params */*realm_params*/, 28 unsigned long /*struct_version*/, 29 unsigned long /*api_version*/, 30 void **/*server_handle*/); 31 32krb5_error_code 33kadm5_add_passwd_quality_verifier ( 34 krb5_context /*context*/, 35 const char */*check_library*/); 36 37const char * 38kadm5_check_password_quality ( 39 krb5_context /*context*/, 40 krb5_principal /*principal*/, 41 krb5_data */*pwd_data*/); 42 43kadm5_ret_t 44kadm5_chpass_principal ( 45 void */*server_handle*/, 46 krb5_principal /*princ*/, 47 const char */*password*/); 48 49kadm5_ret_t 50kadm5_chpass_principal_with_key ( 51 void */*server_handle*/, 52 krb5_principal /*princ*/, 53 int /*n_key_data*/, 54 krb5_key_data */*key_data*/); 55 56kadm5_ret_t 57kadm5_create_principal ( 58 void */*server_handle*/, 59 kadm5_principal_ent_t /*princ*/, 60 uint32_t /*mask*/, 61 const char */*password*/); 62 63kadm5_ret_t 64kadm5_delete_principal ( 65 void */*server_handle*/, 66 krb5_principal /*princ*/); 67 68kadm5_ret_t 69kadm5_destroy (void */*server_handle*/); 70 71kadm5_ret_t 72kadm5_flush (void */*server_handle*/); 73 74void 75kadm5_free_key_data ( 76 void */*server_handle*/, 77 int16_t */*n_key_data*/, 78 krb5_key_data */*key_data*/); 79 80void 81kadm5_free_name_list ( 82 void */*server_handle*/, 83 char **/*names*/, 84 int */*count*/); 85 86void 87kadm5_free_principal_ent ( 88 void */*server_handle*/, 89 kadm5_principal_ent_t /*princ*/); 90 91kadm5_ret_t 92kadm5_get_principal ( 93 void */*server_handle*/, 94 krb5_principal /*princ*/, 95 kadm5_principal_ent_t /*out*/, 96 uint32_t /*mask*/); 97 98kadm5_ret_t 99kadm5_get_principals ( 100 void */*server_handle*/, 101 const char */*expression*/, 102 char ***/*princs*/, 103 int */*count*/); 104 105kadm5_ret_t 106kadm5_get_privs ( 107 void */*server_handle*/, 108 uint32_t */*privs*/); 109 110kadm5_ret_t 111kadm5_init_with_creds ( 112 const char */*client_name*/, 113 krb5_ccache /*ccache*/, 114 const char */*service_name*/, 115 kadm5_config_params */*realm_params*/, 116 unsigned long /*struct_version*/, 117 unsigned long /*api_version*/, 118 void **/*server_handle*/); 119 120kadm5_ret_t 121kadm5_init_with_creds_ctx ( 122 krb5_context /*context*/, 123 const char */*client_name*/, 124 krb5_ccache /*ccache*/, 125 const char */*service_name*/, 126 kadm5_config_params */*realm_params*/, 127 unsigned long /*struct_version*/, 128 unsigned long /*api_version*/, 129 void **/*server_handle*/); 130 131kadm5_ret_t 132kadm5_init_with_password ( 133 const char */*client_name*/, 134 const char */*password*/, 135 const char */*service_name*/, 136 kadm5_config_params */*realm_params*/, 137 unsigned long /*struct_version*/, 138 unsigned long /*api_version*/, 139 void **/*server_handle*/); 140 141kadm5_ret_t 142kadm5_init_with_password_ctx ( 143 krb5_context /*context*/, 144 const char */*client_name*/, 145 const char */*password*/, 146 const char */*service_name*/, 147 kadm5_config_params */*realm_params*/, 148 unsigned long /*struct_version*/, 149 unsigned long /*api_version*/, 150 void **/*server_handle*/); 151 152kadm5_ret_t 153kadm5_init_with_skey ( 154 const char */*client_name*/, 155 const char */*keytab*/, 156 const char */*service_name*/, 157 kadm5_config_params */*realm_params*/, 158 unsigned long /*struct_version*/, 159 unsigned long /*api_version*/, 160 void **/*server_handle*/); 161 162kadm5_ret_t 163kadm5_init_with_skey_ctx ( 164 krb5_context /*context*/, 165 const char */*client_name*/, 166 const char */*keytab*/, 167 const char */*service_name*/, 168 kadm5_config_params */*realm_params*/, 169 unsigned long /*struct_version*/, 170 unsigned long /*api_version*/, 171 void **/*server_handle*/); 172 173kadm5_ret_t 174kadm5_modify_principal ( 175 void */*server_handle*/, 176 kadm5_principal_ent_t /*princ*/, 177 uint32_t /*mask*/); 178 179kadm5_ret_t 180kadm5_randkey_principal ( 181 void */*server_handle*/, 182 krb5_principal /*princ*/, 183 krb5_keyblock **/*new_keys*/, 184 int */*n_keys*/); 185 186kadm5_ret_t 187kadm5_rename_principal ( 188 void */*server_handle*/, 189 krb5_principal /*source*/, 190 krb5_principal /*target*/); 191 192kadm5_ret_t 193kadm5_ret_key_data ( 194 krb5_storage */*sp*/, 195 krb5_key_data */*key*/); 196 197kadm5_ret_t 198kadm5_ret_principal_ent ( 199 krb5_storage */*sp*/, 200 kadm5_principal_ent_t /*princ*/); 201 202kadm5_ret_t 203kadm5_ret_principal_ent_mask ( 204 krb5_storage */*sp*/, 205 kadm5_principal_ent_t /*princ*/, 206 uint32_t */*mask*/); 207 208kadm5_ret_t 209kadm5_ret_tl_data ( 210 krb5_storage */*sp*/, 211 krb5_tl_data */*tl*/); 212 213void 214kadm5_setup_passwd_quality_check ( 215 krb5_context /*context*/, 216 const char */*check_library*/, 217 const char */*check_function*/); 218 219kadm5_ret_t 220kadm5_store_key_data ( 221 krb5_storage */*sp*/, 222 krb5_key_data */*key*/); 223 224kadm5_ret_t 225kadm5_store_principal_ent ( 226 krb5_storage */*sp*/, 227 kadm5_principal_ent_t /*princ*/); 228 229kadm5_ret_t 230kadm5_store_principal_ent_mask ( 231 krb5_storage */*sp*/, 232 kadm5_principal_ent_t /*princ*/, 233 uint32_t /*mask*/); 234 235kadm5_ret_t 236kadm5_store_tl_data ( 237 krb5_storage */*sp*/, 238 krb5_tl_data */*tl*/); 239 240#ifdef __cplusplus 241} 242#endif 243 244#endif /* __kadm5_protos_h__ */ 245