libalpm
Arch Linux Package Manager Library
Defines | Functions
package.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include <errno.h>
#include <time.h>
#include <alpm.h>
#include <alpm_list.h>
#include "package.h"
#include "util.h"
#include "conf.h"
Include dependency graph for src/pacman/package.c:

Go to the source code of this file.

Defines

#define CLBUF_SIZE   4096

Functions

void dump_pkg_full (alpm_pkg_t *pkg, int extra)
 Display the details of a package.
void dump_pkg_backups (alpm_pkg_t *pkg)
void dump_pkg_files (alpm_pkg_t *pkg, int quiet)
void dump_pkg_changelog (alpm_pkg_t *pkg)

Define Documentation

#define CLBUF_SIZE   4096

Definition at line 37 of file src/pacman/package.c.

Referenced by dump_pkg_changelog().


Function Documentation

void dump_pkg_backups ( alpm_pkg_t pkg)

Definition at line 217 of file src/pacman/package.c.

References _, alpm_list_next(), alpm_option_get_root(), alpm_pkg_get_backup(), config, __alpm_list_t::data, __config_t::handle, _alpm_backup_t::hash, and _alpm_backup_t::name.

Referenced by dump_pkg_full().

Here is the call graph for this function:

Here is the caller graph for this function:

void dump_pkg_changelog ( alpm_pkg_t pkg)

Definition at line 270 of file src/pacman/package.c.

References _, ALPM_LOG_ERROR, alpm_pkg_changelog_close(), alpm_pkg_changelog_open(), alpm_pkg_changelog_read(), alpm_pkg_get_name(), CLBUF_SIZE, and pm_printf().

Here is the call graph for this function:

void dump_pkg_files ( alpm_pkg_t pkg,
int  quiet 
)
void dump_pkg_full ( alpm_pkg_t pkg,
int  extra 
)