aboutsummaryrefslogtreecommitdiff
path: root/crypto/heimdal/lib/kadm5/kadm5-protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/lib/kadm5/kadm5-protos.h')
-rw-r--r--crypto/heimdal/lib/kadm5/kadm5-protos.h52
1 files changed, 43 insertions, 9 deletions
diff --git a/crypto/heimdal/lib/kadm5/kadm5-protos.h b/crypto/heimdal/lib/kadm5/kadm5-protos.h
index c0a0cce7a0ca..eebae95d8f28 100644
--- a/crypto/heimdal/lib/kadm5/kadm5-protos.h
+++ b/crypto/heimdal/lib/kadm5/kadm5-protos.h
@@ -4,6 +4,36 @@
#include <stdarg.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+kadm5_ret_t
+kadm5_ad_init_with_password (
+ const char */*client_name*/,
+ const char */*password*/,
+ const char */*service_name*/,
+ kadm5_config_params */*realm_params*/,
+ unsigned long /*struct_version*/,
+ unsigned long /*api_version*/,
+ void **/*server_handle*/);
+
+kadm5_ret_t
+kadm5_ad_init_with_password_ctx (
+ krb5_context /*context*/,
+ const char */*client_name*/,
+ const char */*password*/,
+ const char */*service_name*/,
+ kadm5_config_params */*realm_params*/,
+ unsigned long /*struct_version*/,
+ unsigned long /*api_version*/,
+ void **/*server_handle*/);
+
+krb5_error_code
+kadm5_add_passwd_quality_verifier (
+ krb5_context /*context*/,
+ const char */*check_library*/);
+
const char *
kadm5_check_password_quality (
krb5_context /*context*/,
@@ -14,7 +44,7 @@ kadm5_ret_t
kadm5_chpass_principal (
void */*server_handle*/,
krb5_principal /*princ*/,
- char */*password*/);
+ const char */*password*/);
kadm5_ret_t
kadm5_chpass_principal_with_key (
@@ -27,8 +57,8 @@ kadm5_ret_t
kadm5_create_principal (
void */*server_handle*/,
kadm5_principal_ent_t /*princ*/,
- u_int32_t /*mask*/,
- char */*password*/);
+ uint32_t /*mask*/,
+ const char */*password*/);
kadm5_ret_t
kadm5_delete_principal (
@@ -63,19 +93,19 @@ kadm5_get_principal (
void */*server_handle*/,
krb5_principal /*princ*/,
kadm5_principal_ent_t /*out*/,
- u_int32_t /*mask*/);
+ uint32_t /*mask*/);
kadm5_ret_t
kadm5_get_principals (
void */*server_handle*/,
- const char */*exp*/,
+ const char */*expression*/,
char ***/*princs*/,
int */*count*/);
kadm5_ret_t
kadm5_get_privs (
void */*server_handle*/,
- u_int32_t */*privs*/);
+ uint32_t */*privs*/);
kadm5_ret_t
kadm5_init_with_creds (
@@ -144,7 +174,7 @@ kadm5_ret_t
kadm5_modify_principal (
void */*server_handle*/,
kadm5_principal_ent_t /*princ*/,
- u_int32_t /*mask*/);
+ uint32_t /*mask*/);
kadm5_ret_t
kadm5_randkey_principal (
@@ -173,7 +203,7 @@ kadm5_ret_t
kadm5_ret_principal_ent_mask (
krb5_storage */*sp*/,
kadm5_principal_ent_t /*princ*/,
- u_int32_t */*mask*/);
+ uint32_t */*mask*/);
kadm5_ret_t
kadm5_ret_tl_data (
@@ -200,11 +230,15 @@ kadm5_ret_t
kadm5_store_principal_ent_mask (
krb5_storage */*sp*/,
kadm5_principal_ent_t /*princ*/,
- u_int32_t /*mask*/);
+ uint32_t /*mask*/);
kadm5_ret_t
kadm5_store_tl_data (
krb5_storage */*sp*/,
krb5_tl_data */*tl*/);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __kadm5_protos_h__ */