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