Deleted Added
full compact
headers.h (57428) headers.h (72448)
1/*
2 * Copyright (c) 1997 - 2000 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:

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

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.6 2000/02/06 06:04:36 assar Exp $
1/*
2 * Copyright (c) 1997 - 2000 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:

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

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.6 2000/02/06 06:04:36 assar Exp $
36 * $FreeBSD: head/crypto/heimdal/kdc/headers.h 57428 2000-02-24 13:37:41Z markm $
36 * $FreeBSD: head/crypto/heimdal/kdc/headers.h 72448 2001-02-13 16:52:56Z assar $
37 */
38
39#ifndef __HEADERS_H__
40#define __HEADERS_H__
41
42#ifdef HAVE_CONFIG_H
43#include <config.h>
44#endif

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

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

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

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