1
by brian
clean slate |
1 |
/********************************************************************
|
2 |
Get the first node in the list. */
|
|
3 |
UNIV_INLINE |
|
4 |
ib_list_node_t*
|
|
5 |
ib_list_get_first(
|
|
6 |
/*==============*/
|
|
7 |
/* out: first node, or NULL */ |
|
8 |
ib_list_t* list) /* in: list */ |
|
9 |
{
|
|
10 |
return(list->first); |
|
11 |
}
|
|
12 |
||
13 |
/********************************************************************
|
|
14 |
Get the last node in the list. */
|
|
15 |
UNIV_INLINE |
|
16 |
ib_list_node_t*
|
|
17 |
ib_list_get_last(
|
|
18 |
/*=============*/
|
|
19 |
/* out: last node, or NULL */ |
|
20 |
ib_list_t* list) /* in: list */ |
|
21 |
{
|
|
22 |
return(list->last); |
|
23 |
}
|