Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/heimdal/kcm/headers.h
34859 views
1
/*
2
* Copyright (c) 2005, PADL Software Pty Ltd.
3
* All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions
7
* are met:
8
*
9
* 1. Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
*
12
* 2. Redistributions in binary form must reproduce the above copyright
13
* notice, this list of conditions and the following disclaimer in the
14
* documentation and/or other materials provided with the distribution.
15
*
16
* 3. Neither the name of PADL Software nor the names of its contributors
17
* may be used to endorse or promote products derived from this software
18
* without specific prior written permission.
19
*
20
* THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE AND CONTRIBUTORS ``AS IS'' AND
21
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23
* ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE OR CONTRIBUTORS BE LIABLE
24
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30
* SUCH DAMAGE.
31
*/
32
33
#ifndef __HEADERS_H__
34
#define __HEADERS_H__
35
36
37
#include <config.h>
38
39
#include <limits.h>
40
#include <stdio.h>
41
#include <stdlib.h>
42
#include <string.h>
43
#include <errno.h>
44
#include <signal.h>
45
#include <stdarg.h>
46
#ifdef HAVE_SYS_TYPES_H
47
#include <sys/types.h>
48
#endif
49
#ifdef HAVE_SYS_PARAM_H
50
#include <sys/param.h>
51
#endif
52
#ifdef HAVE_FCNTL_H
53
#include <fcntl.h>
54
#endif
55
#ifdef HAVE_SYS_SELECT_H
56
#include <sys/select.h>
57
#endif
58
#ifdef HAVE_SYS_SOCKET_H
59
#include <sys/socket.h>
60
#endif
61
#ifdef HAVE_SYS_UN_H
62
#include <sys/un.h>
63
#endif
64
#ifdef HAVE_SYS_UCRED_H
65
#include <sys/ucred.h>
66
#endif
67
#ifdef HAVE_UTIL_H
68
#include <util.h>
69
#endif
70
#ifdef HAVE_LIBUTIL_H
71
#include <libutil.h>
72
#endif
73
#include <ctype.h>
74
#include <err.h>
75
#include <roken.h>
76
#include <getarg.h>
77
#include <base64.h>
78
#include <parse_units.h>
79
#include <parse_time.h>
80
81
82
#include <krb5.h>
83
#include <heim_threads.h>
84
85
#include <heim-ipc.h>
86
87
#include "crypto-headers.h"
88
89
#endif /* __HEADERS_H__ */
90
91
92