Annotation of embedaddon/dhcp/includes/isc-dhcp/types.h, revision 1.1.1.1
1.1 misho 1: /*
2: * Copyright (c) 2004,2009 by Internet Systems Consortium, Inc. ("ISC")
3: * Copyright (c) 1999-2003 by Internet Software Consortium
4: *
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.
8: *
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.
16: *
17: * Internet Systems Consortium, Inc.
18: * 950 Charter Street
19: * Redwood City, CA 94063
20: * <info@isc.org>
21: * https://www.isc.org/
22: */
23:
24: #ifndef ISC_TYPES_H
25: #define ISC_TYPES_H 1
26:
27: #include <isc-dhcp/int.h>
28: #include <isc-dhcp/boolean.h>
29: #include <isc-dhcp/list.h>
30:
31: /***
32: *** Core Types.
33: ***/
34:
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;
43:
44: typedef void (*isc_taskaction_t)(isc_task_t *, isc_event_t *);
45:
46: #endif /* ISC_TYPES_H */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>