8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / krb5 / kadmin / server / misc.h
blobeb52911798f7f15f8e6541814ad85223077fe834
1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
3 */
5 #ifndef _MISC_H
6 #define _MISC_H
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
14 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
16 * Openvision retains the copyright to derivative works of
17 * this source code. Do *NOT* create a derivative of this
18 * source code before consulting with your legal department.
19 * Do *NOT* integrate *ANY* of this source code into another
20 * product before consulting with your legal department.
22 * For further information, read the top-level Openvision
23 * copyright which is contained in the top-level MIT Kerberos
24 * copyright.
26 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
32 * Copyright 1994 OpenVision Technologies, Inc., All Rights Reserved
36 kadm5_ret_t
37 chpass_principal_wrapper_3(void *server_handle,
38 krb5_principal principal,
39 krb5_boolean keepold,
40 int n_ks_tuple,
41 krb5_key_salt_tuple *ks_tuple,
42 char *password);
44 kadm5_ret_t
45 randkey_principal_wrapper_3(void *server_handle,
46 krb5_principal principal,
47 krb5_boolean keepold,
48 int n_ks_tuple,
49 krb5_key_salt_tuple *ks_tuple,
50 krb5_keyblock **keys, int *n_keys);
52 kadm5_ret_t
53 schpw_util_wrapper(void *server_handle, krb5_principal princ,
54 char *new_pw, char **ret_pw,
55 char *msg_ret, unsigned int msg_len);
57 kadm5_ret_t kadm5_get_principal_v1(void *server_handle,
58 krb5_principal principal,
59 kadm5_principal_ent_t_v1 *ent);
61 kadm5_ret_t kadm5_get_policy_v1(void *server_handle, kadm5_policy_t name,
62 kadm5_policy_ent_t *ent);
65 krb5_error_code process_chpw_request(krb5_context context,
66 void *server_handle,
67 char *realm, int s,
68 krb5_keytab keytab,
69 struct sockaddr_in *sockin,
70 krb5_data *req, krb5_data *rep);
72 #ifdef SVC_GETARGS
73 void kadm_1(struct svc_req *, SVCXPRT *);
74 #endif
76 void trunc_name(size_t *len, char **dots);
78 #ifdef __cplusplus
80 #endif
82 #endif /* !_MISC_H */