qb_list_replace - Man Page

Replace old entry by new one.

Synopsis

#include <qb/qblist.h>

static void qb_list_replace(
    struct qb_list_head   *old_one,
    struct qb_list_head   *new_one
);

Params

old_one the element to be replaced

new_one the new element to insert

Description

Structures



struct qb_list_head {
    struct   next;
    struct   prev;
};

See Also

qb_list_empty(3), qb_list_add_tail(3), qb_list_add(3), qb_list_splice_tail(3), qb_list_length(3), qb_list_init(3), qb_list_splice(3), qb_list_is_last(3), qb_list_del(3)

Referenced By

qb_list_add(3), qb_list_add_tail(3), qb_list_del(3), qb_list_empty(3), qblist.h(3), qb_list_init(3), qb_list_is_last(3), qb_list_length(3), qb_list_splice(3), qb_list_splice_tail(3).

2021-03-03 libqb Programmer's Manual