dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
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)

References head, trigfileint::next, and pkg_format_node::type.

Referenced by do_showinfo(), and pkg_format_parse().

Here is the caller graph for this function:

◆ 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 _, dpkg_put_error(), head, trigfileint::next, pkg_format_free(), and pkg_format_node::type.

Referenced by do_showinfo().

Here is the call graph for this function:
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 pkgbin::arbs, pkg_format_node::data, fieldinfos, find_arbfield_info(), find_field_info(), head, pkg_format_node::next, PKG_FORMAT_FIELD, PKG_FORMAT_STRING, pkg_format_node::type, varbuf::used, arbitraryfield::value, varbuf_add_buf(), varbuf_destroy(), VARBUF_INIT, varbuf_reset(), varbuf_str(), fieldinfo::wcall, and pkg_format_node::width.

Referenced by pkg_format_show().

Here is the call graph for this function:
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.

Referenced by do_showinfo().

Here is the call graph for this function:
Here is the caller graph for this function: