Deleted Added
full compact
headers.h (103426) headers.h (178828)
1/*
1/*
2 * Copyright (c) 1997 - 2001 Kungliga Tekniska H�gskolan
2 * Copyright (c) 1997 - 2006 Kungliga Tekniska H�gskolan
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34/*
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34/*
35 * $Id: headers.h,v 1.15 2002/09/10 20:04:46 joda Exp $
36 * $FreeBSD: head/crypto/heimdal/kdc/headers.h 103426 2002-09-16 21:07:11Z nectar $
35 * $Id: headers.h 19658 2007-01-04 00:15:34Z lha $
36 * $FreeBSD: head/crypto/heimdal/kdc/headers.h 178828 2008-05-07 13:53:12Z dfr $
37 */
38
39#ifndef __HEADERS_H__
40#define __HEADERS_H__
41
42#ifdef HAVE_CONFIG_H
43#include <config.h>
44#endif

--- 23 unchanged lines hidden (view full) ---

68#include <netinet/in6.h>
69#endif
70#ifdef HAVE_NETINET6_IN6_H
71#include <netinet6/in6.h>
72#endif
73#ifdef HAVE_ARPA_INET_H
74#include <arpa/inet.h>
75#endif
37 */
38
39#ifndef __HEADERS_H__
40#define __HEADERS_H__
41
42#ifdef HAVE_CONFIG_H
43#include <config.h>
44#endif

--- 23 unchanged lines hidden (view full) ---

68#include <netinet/in6.h>
69#endif
70#ifdef HAVE_NETINET6_IN6_H
71#include <netinet6/in6.h>
72#endif
73#ifdef HAVE_ARPA_INET_H
74#include <arpa/inet.h>
75#endif
76#ifdef HAVE_SYS_WAIT_H
77#include <sys/wait.h>
78#endif
76#ifdef HAVE_NETDB_H
77#include <netdb.h>
78#endif
79#ifdef HAVE_UTIL_H
80#include <util.h>
81#endif
82#ifdef HAVE_LIBUTIL_H
83#include <libutil.h>
84#endif
85#include <err.h>
86#include <roken.h>
87#include <getarg.h>
88#include <base64.h>
89#include <parse_units.h>
90#include <krb5.h>
91#include <krb5_locl.h>
79#ifdef HAVE_NETDB_H
80#include <netdb.h>
81#endif
82#ifdef HAVE_UTIL_H
83#include <util.h>
84#endif
85#ifdef HAVE_LIBUTIL_H
86#include <libutil.h>
87#endif
88#include <err.h>
89#include <roken.h>
90#include <getarg.h>
91#include <base64.h>
92#include <parse_units.h>
93#include <krb5.h>
94#include <krb5_locl.h>
95#include <digest_asn1.h>
96#include <kx509_asn1.h>
92#include <hdb.h>
93#include <hdb_err.h>
97#include <hdb.h>
98#include <hdb_err.h>
94#include <der.h> /* copy_octet_string */
99#include
95
100
96#ifdef KRB4
97#include <krb.h>
98#include <prot.h>
99#define Principal Principal4
100#include <krb_db.h>
101#endif
101#include <heimntlm.h>
102#include <windc_plugin.h>
102
103#undef ALLOC
104#define ALLOC(X) ((X) = malloc(sizeof(*(X))))
105#undef ALLOC_SEQ
106#define ALLOC_SEQ(X, N) do { (X)->len = (N); \
107(X)->val = calloc((X)->len, sizeof(*(X)->val)); } while(0)
108
109#endif /* __HEADERS_H__ */
103
104#undef ALLOC
105#define ALLOC(X) ((X) = malloc(sizeof(*(X))))
106#undef ALLOC_SEQ
107#define ALLOC_SEQ(X, N) do { (X)->len = (N); \
108(X)->val = calloc((X)->len, sizeof(*(X)->val)); } while(0)
109
110#endif /* __HEADERS_H__ */