etc/services - sync with NetBSD-8
[minix.git] / crypto / external / bsd / heimdal / include / kdc-protos.h
bloba46993b6790ea633c247263d19b513918c2467e4
1 /* This is a generated file */
2 #ifndef __kdc_protos_h__
3 #define __kdc_protos_h__
5 #include <stdarg.h>
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 krb5_error_code
12 kdc_check_flags (
13 krb5_context /*context*/,
14 krb5_kdc_configuration */*config*/,
15 hdb_entry_ex */*client_ex*/,
16 const char */*client_name*/,
17 hdb_entry_ex */*server_ex*/,
18 const char */*server_name*/,
19 krb5_boolean /*is_as_req*/);
21 void
22 kdc_log (
23 krb5_context /*context*/,
24 krb5_kdc_configuration */*config*/,
25 int /*level*/,
26 const char */*fmt*/,
27 ...);
29 char*
30 kdc_log_msg (
31 krb5_context /*context*/,
32 krb5_kdc_configuration */*config*/,
33 int /*level*/,
34 const char */*fmt*/,
35 ...);
37 char*
38 kdc_log_msg_va (
39 krb5_context /*context*/,
40 krb5_kdc_configuration */*config*/,
41 int /*level*/,
42 const char */*fmt*/,
43 va_list /*ap*/);
45 void
46 kdc_openlog (
47 krb5_context /*context*/,
48 const char */*service*/,
49 krb5_kdc_configuration */*config*/);
51 krb5_error_code
52 krb5_kdc_get_config (
53 krb5_context /*context*/,
54 krb5_kdc_configuration **/*config*/);
56 krb5_error_code
57 krb5_kdc_pk_initialize (
58 krb5_context /*context*/,
59 krb5_kdc_configuration */*config*/,
60 const char */*user_id*/,
61 const char */*anchors*/,
62 char **/*pool*/,
63 char **/*revoke_list*/);
65 krb5_error_code
66 krb5_kdc_pkinit_config (
67 krb5_context /*context*/,
68 krb5_kdc_configuration */*config*/);
70 int
71 krb5_kdc_process_krb5_request (
72 krb5_context /*context*/,
73 krb5_kdc_configuration */*config*/,
74 unsigned char */*buf*/,
75 size_t /*len*/,
76 krb5_data */*reply*/,
77 const char */*from*/,
78 struct sockaddr */*addr*/,
79 int /*datagram_reply*/);
81 int
82 krb5_kdc_process_request (
83 krb5_context /*context*/,
84 krb5_kdc_configuration */*config*/,
85 unsigned char */*buf*/,
86 size_t /*len*/,
87 krb5_data */*reply*/,
88 krb5_boolean */*prependlength*/,
89 const char */*from*/,
90 struct sockaddr */*addr*/,
91 int /*datagram_reply*/);
93 int
94 krb5_kdc_save_request (
95 krb5_context /*context*/,
96 const char */*fn*/,
97 const unsigned char */*buf*/,
98 size_t /*len*/,
99 const krb5_data */*reply*/,
100 const struct sockaddr */*sa*/);
102 krb5_error_code
103 krb5_kdc_set_dbinfo (
104 krb5_context /*context*/,
105 struct krb5_kdc_configuration */*c*/);
107 void
108 krb5_kdc_update_time (struct timeval */*tv*/);
110 krb5_error_code
111 krb5_kdc_windc_init (krb5_context /*context*/);
113 #ifdef __cplusplus
115 #endif
117 #endif /* __kdc_protos_h__ */