1QB_LIST_INIT(3)            libqb Programmer's Manual           QB_LIST_INIT(3)
2
3
4

NAME

6       qb_list_init - Initialize the list entry.
7

SYNOPSIS

9       #include <qb/qblist.h>
10
11       static void qb_list_init(
12                                  ptr,
13                                  type,
14                                  member,
15                                  pos,
16                                  head,
17                                  n,
18           struct qb_list_head   *head
19       );
20

PARAMS

22       ptr    the &struct list_head pointer.
23
24       type   the type of the struct this is embedded in.
25
26       member the name of the list_struct within the struct.
27
28       pos    the type * to use as a loop cursor.
29
30       head   pointer to the list head
31
32       n      another type * to use as temporary storage
33
34       head   (null)
35

DESCRIPTION

37       Points next and prev pointers to head.
38

STRUCTURES

40       struct qb_list_head {
41           struct   next;
42           struct   prev;
43       };
44

SEE ALSO

46       qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3),
47       qb_list_splice_tail(3), qb_list_length(3), qb_list_replace(3),
48       qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)
49
51       Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
52
53
54
55LIBQB                             2020-07-30                   QB_LIST_INIT(3)
Impressum