xref: /freebsd/crypto/heimdal/lib/kadm5/kadm5-protos.h (revision dd41de95a84d979615a2ef11df6850622bf6184e)
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
8 extern "C" {
9 #endif
10 
11 kadm5_ret_t
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*/);
20 
21 kadm5_ret_t
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*/);
31 
32 krb5_error_code
33 kadm5_add_passwd_quality_verifier (
34 	krb5_context /*context*/,
35 	const char */*check_library*/);
36 
37 const char *
38 kadm5_check_password_quality (
39 	krb5_context /*context*/,
40 	krb5_principal /*principal*/,
41 	krb5_data */*pwd_data*/);
42 
43 kadm5_ret_t
44 kadm5_chpass_principal (
45 	void */*server_handle*/,
46 	krb5_principal /*princ*/,
47 	const char */*password*/);
48 
49 kadm5_ret_t
50 kadm5_chpass_principal_with_key (
51 	void */*server_handle*/,
52 	krb5_principal /*princ*/,
53 	int /*n_key_data*/,
54 	krb5_key_data */*key_data*/);
55 
56 kadm5_ret_t
57 kadm5_create_principal (
58 	void */*server_handle*/,
59 	kadm5_principal_ent_t /*princ*/,
60 	uint32_t /*mask*/,
61 	const char */*password*/);
62 
63 kadm5_ret_t
64 kadm5_delete_principal (
65 	void */*server_handle*/,
66 	krb5_principal /*princ*/);
67 
68 kadm5_ret_t
69 kadm5_destroy (void */*server_handle*/);
70 
71 kadm5_ret_t
72 kadm5_flush (void */*server_handle*/);
73 
74 void
75 kadm5_free_key_data (
76 	void */*server_handle*/,
77 	int16_t */*n_key_data*/,
78 	krb5_key_data */*key_data*/);
79 
80 void
81 kadm5_free_name_list (
82 	void */*server_handle*/,
83 	char **/*names*/,
84 	int */*count*/);
85 
86 void
87 kadm5_free_principal_ent (
88 	void */*server_handle*/,
89 	kadm5_principal_ent_t /*princ*/);
90 
91 kadm5_ret_t
92 kadm5_get_principal (
93 	void */*server_handle*/,
94 	krb5_principal /*princ*/,
95 	kadm5_principal_ent_t /*out*/,
96 	uint32_t /*mask*/);
97 
98 kadm5_ret_t
99 kadm5_get_principals (
100 	void */*server_handle*/,
101 	const char */*expression*/,
102 	char ***/*princs*/,
103 	int */*count*/);
104 
105 kadm5_ret_t
106 kadm5_get_privs (
107 	void */*server_handle*/,
108 	uint32_t */*privs*/);
109 
110 kadm5_ret_t
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*/);
119 
120 kadm5_ret_t
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*/);
130 
131 kadm5_ret_t
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*/);
140 
141 kadm5_ret_t
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*/);
151 
152 kadm5_ret_t
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*/);
161 
162 kadm5_ret_t
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*/);
172 
173 kadm5_ret_t
174 kadm5_modify_principal (
175 	void */*server_handle*/,
176 	kadm5_principal_ent_t /*princ*/,
177 	uint32_t /*mask*/);
178 
179 kadm5_ret_t
180 kadm5_randkey_principal (
181 	void */*server_handle*/,
182 	krb5_principal /*princ*/,
183 	krb5_keyblock **/*new_keys*/,
184 	int */*n_keys*/);
185 
186 kadm5_ret_t
187 kadm5_rename_principal (
188 	void */*server_handle*/,
189 	krb5_principal /*source*/,
190 	krb5_principal /*target*/);
191 
192 kadm5_ret_t
193 kadm5_ret_key_data (
194 	krb5_storage */*sp*/,
195 	krb5_key_data */*key*/);
196 
197 kadm5_ret_t
198 kadm5_ret_principal_ent (
199 	krb5_storage */*sp*/,
200 	kadm5_principal_ent_t /*princ*/);
201 
202 kadm5_ret_t
203 kadm5_ret_principal_ent_mask (
204 	krb5_storage */*sp*/,
205 	kadm5_principal_ent_t /*princ*/,
206 	uint32_t */*mask*/);
207 
208 kadm5_ret_t
209 kadm5_ret_tl_data (
210 	krb5_storage */*sp*/,
211 	krb5_tl_data */*tl*/);
212 
213 void
214 kadm5_setup_passwd_quality_check (
215 	krb5_context /*context*/,
216 	const char */*check_library*/,
217 	const char */*check_function*/);
218 
219 kadm5_ret_t
220 kadm5_store_key_data (
221 	krb5_storage */*sp*/,
222 	krb5_key_data */*key*/);
223 
224 kadm5_ret_t
225 kadm5_store_principal_ent (
226 	krb5_storage */*sp*/,
227 	kadm5_principal_ent_t /*princ*/);
228 
229 kadm5_ret_t
230 kadm5_store_principal_ent_mask (
231 	krb5_storage */*sp*/,
232 	kadm5_principal_ent_t /*princ*/,
233 	uint32_t /*mask*/);
234 
235 kadm5_ret_t
236 kadm5_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