1 /* This is a generated file */
2 #ifndef __kadm5_protos_h__
3 #define __kadm5_protos_h__
8 kadm5_check_password_quality (
9 krb5_context
/*context*/,
10 krb5_principal
/*principal*/,
11 krb5_data */
*pwd_data*/
);
14 kadm5_chpass_principal (
15 void */
*server_handle*/
,
16 krb5_principal
/*princ*/,
20 kadm5_chpass_principal_with_key (
21 void */
*server_handle*/
,
22 krb5_principal
/*princ*/,
24 krb5_key_data */
*key_data*/
);
27 kadm5_create_principal (
28 void */
*server_handle*/
,
29 kadm5_principal_ent_t
/*princ*/,
34 kadm5_delete_principal (
35 void */
*server_handle*/
,
36 krb5_principal
/*princ*/);
39 kadm5_destroy (void */
*server_handle*/
);
42 kadm5_flush (void */
*server_handle*/
);
46 void */
*server_handle*/
,
47 int16_t */
*n_key_data*/
,
48 krb5_key_data */
*key_data*/
);
51 kadm5_free_name_list (
52 void */
*server_handle*/
,
57 kadm5_free_principal_ent (
58 void */
*server_handle*/
,
59 kadm5_principal_ent_t
/*princ*/);
63 void */
*server_handle*/
,
64 krb5_principal
/*princ*/,
65 kadm5_principal_ent_t
/*out*/,
69 kadm5_get_principals (
70 void */
*server_handle*/
,
77 void */
*server_handle*/
,
78 u_int32_t */
*privs*/
);
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*/
);
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*/
);
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*/
);
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*/
);
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*/
);
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*/
);
144 kadm5_modify_principal (
145 void */
*server_handle*/
,
146 kadm5_principal_ent_t
/*princ*/,
150 kadm5_randkey_principal (
151 void */
*server_handle*/
,
152 krb5_principal
/*princ*/,
153 krb5_keyblock
**/
*new_keys*/
,
157 kadm5_rename_principal (
158 void */
*server_handle*/
,
159 krb5_principal
/*source*/,
160 krb5_principal
/*target*/);
164 krb5_storage */
*sp*/
,
165 krb5_key_data */
*key*/
);
168 kadm5_ret_principal_ent (
169 krb5_storage */
*sp*/
,
170 kadm5_principal_ent_t
/*princ*/);
173 kadm5_ret_principal_ent_mask (
174 krb5_storage */
*sp*/
,
175 kadm5_principal_ent_t
/*princ*/,
176 u_int32_t */
*mask*/
);
180 krb5_storage */
*sp*/
,
181 krb5_tl_data */
*tl*/
);
184 kadm5_setup_passwd_quality_check (
185 krb5_context
/*context*/,
186 const char */
*check_library*/
,
187 const char */
*check_function*/
);
190 kadm5_store_key_data (
191 krb5_storage */
*sp*/
,
192 krb5_key_data */
*key*/
);
195 kadm5_store_principal_ent (
196 krb5_storage */
*sp*/
,
197 kadm5_principal_ent_t
/*princ*/);
200 kadm5_store_principal_ent_mask (
201 krb5_storage */
*sp*/
,
202 kadm5_principal_ent_t
/*princ*/,
206 kadm5_store_tl_data (
207 krb5_storage */
*sp*/
,
208 krb5_tl_data */
*tl*/
);
210 #endif /* __kadm5_protos_h__ */