1QB_LIST_REPLACE(3) libqb Programmer's Manual QB_LIST_REPLACE(3)
2
3
4
6 qb_list_replace - Replace old entry by new one.
7
9 #include <qb/qblist.h>
10
11 static void qb_list_replace(
12 struct qb_list_head *old_one,
13 struct qb_list_head *new_one
14 );
15
17 old_one the element to be replaced
18
19 new_one the new element to insert
20
23 struct qb_list_head {
24 struct next;
25 struct prev;
26 };
27
29 qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3),
30 qb_list_splice_tail(3), qb_list_length(3), qb_list_init(3),
31 qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)
32
34 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
35
36
37
38LIBQB 2020-07-30 QB_LIST_REPLACE(3)