dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Enumerations | Functions | Variables
packages.c File Reference

(ae03bfd28)

#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <fcntl.h>
#include <dirent.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/pkg-list.h>
#include <dpkg/pkg-queue.h>
#include <dpkg/options.h>
#include <dpkg/db-ctrl.h>
#include <dpkg/db-fsys.h>
#include "main.h"
Include dependency graph for packages.c:

Enumerations

enum  found_status { FOUND_NONE = 0 , FOUND_DEFER = 1 , FOUND_FORCED = 2 , FOUND_OK = 3 }
 

Functions

void enqueue_package (struct pkginfo *pkg)
 
void enqueue_package_mark_seen (struct pkginfo *pkg)
 
int packages (const char *const *argv)
 
void process_queue (void)
 
enum dep_check breakses_ok (struct pkginfo *pkg, struct varbuf *aemsgs)
 
enum dep_check dependencies_ok (struct pkginfo *pkg, struct pkginfo *removing, struct varbuf *aemsgs)
 

Variables

enum dependtry dependtry = DEPEND_TRY_NORMAL
 
int sincenothing = 0
 

Enumeration Type Documentation

◆ found_status

Enumerator
FOUND_NONE 
FOUND_DEFER 
FOUND_FORCED 
FOUND_OK 

Function Documentation

◆ breakses_ok()

enum dep_check breakses_ok ( struct pkginfo pkg,
struct varbuf aemsgs 
)

References dbg_depcon, dbg_depcondetail, debug(), DEP_CHECK_OK, dep_provides, pkgbin::depends, deppossi::ed, pkginfo::installed, dependency::list, pkgset::name, dependency::next, pkginfo::set, and dependency::type.

Referenced by deferred_configure().

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

◆ dependencies_ok()

enum dep_check dependencies_ok ( struct pkginfo pkg,
struct pkginfo removing,
struct varbuf aemsgs 
)

◆ enqueue_package()

void enqueue_package ( struct pkginfo pkg)

References pkginfo::clientdata, perpackagestate::enqueued, ensure_package_clientdata(), and pkg_queue_push().

Referenced by deferred_configure(), deferred_remove(), enqueue_package_mark_seen(), ok_prermdeconfigure(), process_queue(), and trigproc().

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

◆ enqueue_package_mark_seen()

void enqueue_package_mark_seen ( struct pkginfo pkg)

References pkginfo::clientdata, perpackagestate::cmdline_seen, and enqueue_package().

Referenced by process_archive().

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

◆ packages()

int packages ( const char *const *  argv)

References _, badusage(), checkpath(), cipaction, ensure_diversions(), f_noact, f_pending, FORCE_NON_ROOT, in_force(), log_message(), modstatdb_open(), modstatdb_shutdown(), msdbrw_needsuperuser, msdbrw_readonly, msdbrw_write, cmdinfo::olong, pkg_infodb_upgrade(), process_queue(), trigproc_install_hooks(), and trigproc_run_deferred().

Here is the call graph for this function:

◆ process_queue()

void process_queue ( void  )

Variable Documentation

◆ dependtry

◆ sincenothing

int sincenothing = 0