libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
acfutils
list_impl.h
Go to the documentation of this file.
1
/*
2
* CDDL HEADER START
3
*
4
* The contents of this file are subject to the terms of the
5
* Common Development and Distribution License, Version 1.0 only
6
* (the "License"). You may not use this file except in compliance
7
* with the License.
8
*
9
* You can obtain a copy of the license in the file COPYING
10
* or http://www.opensolaris.org/os/licensing.
11
* See the License for the specific language governing permissions
12
* and limitations under the License.
13
*
14
* When distributing Covered Code, include this CDDL HEADER in each
15
* file and include the License file COPYING.
16
* If applicable, add the following below this CDDL HEADER, with the
17
* fields enclosed by brackets "[]" replaced with your own identifying
18
* information: Portions Copyright [yyyy] [name of copyright owner]
19
*
20
* CDDL HEADER END
21
*/
22
/*
23
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
24
* Use is subject to license terms.
25
*/
32
#ifndef _ACF_UTILS_LIST_IMPL_H_
33
#define _ACF_UTILS_LIST_IMPL_H_
34
35
#include <sys/types.h>
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
42
struct
list_node
{
43
struct
list_node
*
list_next
;
44
struct
list_node
*
list_prev
;
45
};
46
48
struct
list
{
49
size_t
list_size;
50
size_t
list_offset;
51
size_t
list_count;
52
struct
list_node
list_head
;
53
};
54
55
#ifdef __cplusplus
56
}
57
#endif
58
59
#endif
/* _ACF_UTILS_LIST_IMPL_H_ */
list_head
void * list_head(const list_t *)
Definition
list.c:292
list_prev
void * list_prev(const list_t *, const void *)
Definition
list.c:388
list_next
void * list_next(const list_t *, const void *)
Definition
list.c:344
list_node
Definition
list_impl.h:42
list
Definition
list_impl.h:48
Generated by
1.9.8