dpkg 1.21.11
Data Structures | Enumerations | Functions
pkg-format.c File Reference

(560574b55)

#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <dpkg/i18n.h>
#include <dpkg/error.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/db-ctrl.h>
#include <dpkg/db-fsys.h>
#include <dpkg/parsedump.h>
#include <dpkg/pkg-show.h>
#include <dpkg/pkg-format.h>
Include dependency graph for pkg-format.c:

Data Structures

struct  pkg_format_node
 

Enumerations

enum  pkg_format_type { PKG_FORMAT_INVALID , PKG_FORMAT_STRING , PKG_FORMAT_FIELD }
 

Functions

void pkg_format_free (struct pkg_format_node *head)
 
struct pkg_format_nodepkg_format_parse (const char *fmt, struct dpkg_error *err)
 
bool pkg_format_needs_db_fsys (const 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)
 

Enumeration Type Documentation

◆ pkg_format_type

Enumerator
PKG_FORMAT_INVALID 
PKG_FORMAT_STRING 
PKG_FORMAT_FIELD