1 /* This is a generated file */
2 #ifndef __kadm5_protos_h__
3 #define __kadm5_protos_h__
12 kadm5_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*/
);
22 kadm5_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*/
);
33 kadm5_add_passwd_quality_verifier (
34 krb5_context
/*context*/,
35 const char */
*check_library*/
);
38 kadm5_check_password_quality (
39 krb5_context
/*context*/,
40 krb5_principal
/*principal*/,
41 krb5_data */
*pwd_data*/
);
44 kadm5_chpass_principal (
45 void */
*server_handle*/
,
46 krb5_principal
/*princ*/,
47 const char */
*password*/
);
50 kadm5_chpass_principal_with_key (
51 void */
*server_handle*/
,
52 krb5_principal
/*princ*/,
54 krb5_key_data */
*key_data*/
);
57 kadm5_create_principal (
58 void */
*server_handle*/
,
59 kadm5_principal_ent_t
/*princ*/,
61 const char */
*password*/
);
64 kadm5_delete_principal (
65 void */
*server_handle*/
,
66 krb5_principal
/*princ*/);
69 kadm5_destroy (void */
*server_handle*/
);
72 kadm5_flush (void */
*server_handle*/
);
76 void */
*server_handle*/
,
77 int16_t */
*n_key_data*/
,
78 krb5_key_data */
*key_data*/
);
81 kadm5_free_name_list (
82 void */
*server_handle*/
,
87 kadm5_free_principal_ent (
88 void */
*server_handle*/
,
89 kadm5_principal_ent_t
/*princ*/);
93 void */
*server_handle*/
,
94 krb5_principal
/*princ*/,
95 kadm5_principal_ent_t
/*out*/,
99 kadm5_get_principals (
100 void */
*server_handle*/
,
101 const char */
*expression*/
,
107 void */
*server_handle*/
,
108 uint32_t */
*privs*/
);
111 kadm5_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*/
);
121 kadm5_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*/
);
132 kadm5_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*/
);
142 kadm5_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*/
);
153 kadm5_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*/
);
163 kadm5_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*/
);
174 kadm5_modify_principal (
175 void */
*server_handle*/
,
176 kadm5_principal_ent_t
/*princ*/,
180 kadm5_randkey_principal (
181 void */
*server_handle*/
,
182 krb5_principal
/*princ*/,
183 krb5_keyblock
**/
*new_keys*/
,
187 kadm5_rename_principal (
188 void */
*server_handle*/
,
189 krb5_principal
/*source*/,
190 krb5_principal
/*target*/);
194 krb5_storage */
*sp*/
,
195 krb5_key_data */
*key*/
);
198 kadm5_ret_principal_ent (
199 krb5_storage */
*sp*/
,
200 kadm5_principal_ent_t
/*princ*/);
203 kadm5_ret_principal_ent_mask (
204 krb5_storage */
*sp*/
,
205 kadm5_principal_ent_t
/*princ*/,
210 krb5_storage */
*sp*/
,
211 krb5_tl_data */
*tl*/
);
214 kadm5_setup_passwd_quality_check (
215 krb5_context
/*context*/,
216 const char */
*check_library*/
,
217 const char */
*check_function*/
);
220 kadm5_store_key_data (
221 krb5_storage */
*sp*/
,
222 krb5_key_data */
*key*/
);
225 kadm5_store_principal_ent (
226 krb5_storage */
*sp*/
,
227 kadm5_principal_ent_t
/*princ*/);
230 kadm5_store_principal_ent_mask (
231 krb5_storage */
*sp*/
,
232 kadm5_principal_ent_t
/*princ*/,
236 kadm5_store_tl_data (
237 krb5_storage */
*sp*/
,
238 krb5_tl_data */
*tl*/
);
244 #endif /* __kadm5_protos_h__ */