dpkg 1.21.11
Functions
Package information formatting
Collaboration diagram for Package information formatting:

Functions

bool pkg_format_needs_db_fsys (const struct pkg_format_node *head)
 
struct pkg_format_nodepkg_format_parse (const char *fmt, struct dpkg_error *err)
 
void pkg_format_free (struct pkg_format_node *head)
 
void pkg_format_print (struct varbuf *vb, const struct pkg_format_node *head, struct pkginfo *pkg, struct pkgbin *pkgbin)
 
void pkg_format_show (const struct pkg_format_node *head, struct pkginfo *pkg, struct pkgbin *pkgbin)
 

Detailed Description

Function Documentation

◆ pkg_format_free()

void pkg_format_free ( struct pkg_format_node head)

◆ pkg_format_needs_db_fsys()

bool pkg_format_needs_db_fsys ( const struct pkg_format_node head)

◆ pkg_format_parse()

struct pkg_format_node * pkg_format_parse ( const char *  fmt,
struct dpkg_error err 
)

References head, and pkg_format_node::next.

Referenced by do_showinfo().

Here is the caller graph for this function:

◆ pkg_format_print()

void pkg_format_print ( struct varbuf vb,
const struct pkg_format_node head,
struct pkginfo pkg,
struct pkgbin pkgbin 
)

References head, pkg_format_node::next, PKG_FORMAT_STRING, pkg_format_node::type, and VARBUF_INIT.

Referenced by pkg_format_show().

Here is the caller graph for this function:

◆ pkg_format_show()

void pkg_format_show ( const struct pkg_format_node head,
struct pkginfo pkg,
struct pkgbin pkgbin 
)

References varbuf::buf, head, pkg_format_print(), varbuf_destroy(), and VARBUF_INIT.

Here is the call graph for this function: