Sync with HEAD.
[dragonfly.git] / contrib / dhcp-3.0 / includes / isc-dhcp / types.h
blob5da4e2e8b63062dfc086cce2a4997c9cd6ec4a97
1 /*
2 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (c) 1999-2003 by Internet Software Consortium
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
15 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 * Internet Systems Consortium, Inc.
18 * 950 Charter Street
19 * Redwood City, CA 94063
20 * <info@isc.org>
21 * http://www.isc.org/
24 #ifndef ISC_TYPES_H
25 #define ISC_TYPES_H 1
27 #include <isc-dhcp/int.h>
28 #include <isc-dhcp/boolean.h>
29 #include <isc-dhcp/list.h>
31 /***
32 *** Core Types.
33 ***/
35 typedef struct isc_mem isc_mem_t;
36 typedef struct isc_mempool isc_mempool_t;
37 typedef struct isc_msgcat isc_msgcat_t;
38 typedef unsigned int isc_eventtype_t;
39 typedef struct isc_event isc_event_t;
40 typedef struct isc_task isc_task_t;
41 typedef struct isc_taskmgr isc_taskmgr_t;
42 typedef struct isc_rwlock isc_rwlock_t;
44 typedef void (*isc_taskaction_t)(isc_task_t *, isc_event_t *);
46 #endif /* ISC_TYPES_H */