xref: /freebsd/crypto/heimdal/kdc/kdc-protos.h (revision f7c4bd95ba735bd6a5454b4953945a99cefbb80c)
1 /* This is a generated file */
2 #ifndef __kdc_protos_h__
3 #define __kdc_protos_h__
4 
5 #include <stdarg.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 void
12 kdc_log (
13 	krb5_context /*context*/,
14 	krb5_kdc_configuration */*config*/,
15 	int /*level*/,
16 	const char */*fmt*/,
17 	...);
18 
19 char*
20 kdc_log_msg (
21 	krb5_context /*context*/,
22 	krb5_kdc_configuration */*config*/,
23 	int /*level*/,
24 	const char */*fmt*/,
25 	...);
26 
27 char*
28 kdc_log_msg_va (
29 	krb5_context /*context*/,
30 	krb5_kdc_configuration */*config*/,
31 	int /*level*/,
32 	const char */*fmt*/,
33 	va_list /*ap*/);
34 
35 void
36 kdc_openlog (
37 	krb5_context /*context*/,
38 	krb5_kdc_configuration */*config*/);
39 
40 krb5_error_code
41 krb5_kdc_get_config (
42 	krb5_context /*context*/,
43 	krb5_kdc_configuration **/*config*/);
44 
45 int
46 krb5_kdc_process_krb5_request (
47 	krb5_context /*context*/,
48 	krb5_kdc_configuration */*config*/,
49 	unsigned char */*buf*/,
50 	size_t /*len*/,
51 	krb5_data */*reply*/,
52 	const char */*from*/,
53 	struct sockaddr */*addr*/,
54 	int /*datagram_reply*/);
55 
56 int
57 krb5_kdc_process_request (
58 	krb5_context /*context*/,
59 	krb5_kdc_configuration */*config*/,
60 	unsigned char */*buf*/,
61 	size_t /*len*/,
62 	krb5_data */*reply*/,
63 	krb5_boolean */*prependlength*/,
64 	const char */*from*/,
65 	struct sockaddr */*addr*/,
66 	int /*datagram_reply*/);
67 
68 int
69 krb5_kdc_save_request (
70 	krb5_context /*context*/,
71 	const char */*fn*/,
72 	const unsigned char */*buf*/,
73 	size_t /*len*/,
74 	const krb5_data */*reply*/,
75 	const struct sockaddr */*sa*/);
76 
77 krb5_error_code
78 krb5_kdc_set_dbinfo (
79 	krb5_context /*context*/,
80 	struct krb5_kdc_configuration */*c*/);
81 
82 void
83 krb5_kdc_update_time (struct timeval */*tv*/);
84 
85 krb5_error_code
86 krb5_kdc_windc_init (krb5_context /*context*/);
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 #endif /* __kdc_protos_h__ */
93