.\" Automatically generated man page, do not edit .TH QB_LIST_INIT 3 2020-10-31 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_list_init \- Initialize the list entry. .SH SYNOPSIS .nf .B #include .sp \fBstatic void qb_list_init\fP( \fB \fP\fIptr\fP, \fB \fP\fItype\fP, \fB \fP\fImember\fP, \fB \fP\fIpos\fP, \fB \fP\fIhead\fP, \fB \fP\fIn\fP, \fBstruct qb_list_head *\fP\fIhead\fP ); .fi .SH PARAMS \fBptr \fP\fIthe &struct list_head pointer. \fP .PP \fBtype \fP\fIthe type of the struct this is embedded in. \fP .PP \fBmember \fP\fIthe name of the list_struct within the struct. \fP .PP \fBpos \fP\fIthe type * to use as a loop cursor. \fP .PP \fBhead \fP\fIpointer to the list head \fP .PP \fBn \fP\fIanother type * to use as temporary storage \fP .PP \fBhead \fP\fI(null)\fP .PP .SH DESCRIPTION .PP Points next and prev pointers to head. .SH STRUCTURES .nf \fB struct qb_list_head { struct \fInext\fP; struct \fIprev\fP; }; \fP .fi .PP .RE .SH SEE ALSO .PP .nh .ad l \fIqb_list_empty\fR(3), \fIqb_list_add_tail\fR(3), \fIqb_list_add\fR(3), \fIqb_list_splice_tail\fR(3), \fIqb_list_length\fR(3), \fIqb_list_replace\fR(3), \fIqb_list_splice\fR(3), \fIqb_list_is_last\fR(3), \fIqb_list_del\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.