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

NAME

6       qb_list_replace - Replace old entry by new one.
7
8

SYNOPSIS

10       #include <qb/qblist.h>
11
12       static void qb_list_replace(
13           struct qb_list_head   *old_one,  /* the element to be replaced */
14           struct qb_list_head   *new_one   /* the new element to insert */
15       );
16

PARAMS

18       old_one the element to be replaced
19
20       new_one the new element to insert
21

DESCRIPTION

STRUCTURES

24       struct qb_list_head {
25           struct   next;
26           struct   prev;
27       };
28

SEE ALSO

30       qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3),
31       qb_list_splice_tail(3), qb_list_length(3), qb_list_init(3),
32       qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)
33
35       Copyright (C) 2010-2020 Red Hat, Inc.
36
37
38
39LIBQB                             2023-07-21                QB_LIST_REPLACE(3)
Impressum