dpkg 1.22.7-3-g89f48
|
Data Structures | |
struct | pkg_list |
Functions | |
struct pkg_list * | pkg_list_new (struct pkginfo *pkg, struct pkg_list *next) |
Create a new package list node. | |
void | pkg_list_free (struct pkg_list *head) |
Free all nodes of a package list. | |
void | pkg_list_prepend (struct pkg_list **head, struct pkginfo *pkg) |
Prepend a package list node to a package list. | |
void pkg_list_free | ( | struct pkg_list * | head | ) |
Free all nodes of a package list.
head | The head of the list to free. |
References head, and trigfileint::next.
Referenced by pkg_queue_destroy(), and trig_awaited_pend_free().
Create a new package list node.
pkg | The pkginfo to assign to the node. |
next | The next package list node. |
References m_malloc(), pkg_list::next, and pkg_list::pkg.
Referenced by pkg_list_prepend(), and pkg_queue_push().
Prepend a package list node to a package list.
head | The head of the list to prepend to. |
pkg | The pkginfo to prepend to the list. |
References head, pkg_list::pkg, and pkg_list_new().
Referenced by trig_awaited_pend_enqueue().