changed `struct fd_set' to `fd_set'
[heimdal.git] / lib / krb5 / krb5_locl.h
blobb0db18d7a03c63e29f6d88fb584af53cacf15382
1 /*
2 * Copyright (c) 1997 Kungliga Tekniska Högskolan
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
17 * 3. All advertising materials mentioning features or use of this software
18 * must display the following acknowledgement:
19 * This product includes software developed by Kungliga Tekniska
20 * Högskolan and its contributors.
22 * 4. Neither the name of the Institute nor the names of its contributors
23 * may be used to endorse or promote products derived from this software
24 * without specific prior written permission.
26 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
27 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
39 /* $Id$ */
41 #ifndef __KRB5_LOCL_H__
42 #define __KRB5_LOCL_H__
44 #ifdef HAVE_CONFIG_H
45 #include <config.h>
46 #endif
48 #include <errno.h>
49 #include <ctype.h>
50 #include <string.h>
51 #include <stdio.h>
52 #include <stdlib.h>
54 #ifdef HAVE_SYS_TYPES_H
55 #include <sys/types.h>
56 #endif
57 #ifdef HAVE_UNISTD_H
58 #include <unistd.h>
59 #endif
60 #ifdef HAVE_FCNTL_H
61 #include <fcntl.h>
62 #endif
64 #if defined(HAVE_SYS_IOCTL_H) && SunOS != 4
65 #include <sys/ioctl.h>
66 #endif
67 #ifdef HAVE_PWD_H
68 #include <pwd.h>
69 #endif
71 #ifdef HAVE_SYS_PARAM_H
72 #include <sys/param.h>
73 #endif
74 #include <time.h>
75 #ifdef HAVE_SYS_TIME_H
76 #include <sys/time.h>
77 #endif
78 #ifdef HAVE_SYS_SELECT_H
79 #include <sys/select.h>
80 #endif
81 #ifdef HAVE_SYS_SOCKET_H
82 #include <sys/socket.h>
83 #endif
84 #ifdef HAVE_NETINET_IN_H
85 #include <netinet/in.h>
86 #endif
87 #ifdef HAVE_NETINET_IN6_H
88 #include <netinet/in6.h>
89 #endif
90 #ifdef HAVE_NETINET6_IN6_H
91 #include <netinet6/in6.h>
92 #endif
93 #ifdef HAVE_NETDB_H
94 #include <netdb.h>
95 #endif
96 #ifdef HAVE_ARPA_INET_H
97 #include <arpa/inet.h>
98 #endif
99 #ifdef HAVE_SYS_UIO_H
100 #include <sys/uio.h>
101 #endif
102 #ifdef HAVE_SYS_FILIO_H
103 #include <sys/filio.h>
104 #endif
105 #include <roken.h>
106 #include <parse_time.h>
107 #include <base64.h>
109 #include <des.h>
110 #include <md4.h>
111 #include <md5.h>
112 #include <sha.h>
114 #include <asn1.h>
115 #include <der.h>
117 #include <krb5.h>
118 #include <krb5_err.h>
119 #include <asn1_err.h>
120 #include <error.h>
122 #define ALLOC(X, N) (X) = calloc((N), sizeof(*(X)))
124 #endif /* __KRB5_LOCL_H__ */