package.c File Reference

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <sys/stat.h>
#include <alpm.h>
#include <alpm_list.h>
#include "package.h"
#include "util.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 (pmpkg_t *pkg, int level)
void dump_pkg_sync (pmpkg_t *pkg, const char *treename)
void dump_pkg_backups (pmpkg_t *pkg)
void dump_pkg_files (pmpkg_t *pkg)
void dump_pkg_changelog (pmpkg_t *pkg)


Define Documentation

#define CLBUF_SIZE   4096

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

Referenced by dump_pkg_changelog().


Function Documentation

void dump_pkg_backups ( pmpkg_t pkg  ) 

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

References _, alpm_get_md5sum(), alpm_list_getdata(), alpm_list_next(), alpm_option_get_root(), and alpm_pkg_get_backup().

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 ( pmpkg_t pkg  ) 

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

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

Here is the call graph for this function:

void dump_pkg_files ( pmpkg_t pkg  ) 

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

References alpm_list_getdata(), alpm_list_next(), alpm_option_get_root(), alpm_pkg_get_files(), and alpm_pkg_get_name().

Here is the call graph for this function:

void dump_pkg_full ( pmpkg_t pkg,
int  level 
)

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

References _, alpm_dep_get_string(), alpm_list_add(), alpm_list_getdata(), alpm_list_next(), alpm_pkg_compute_requiredby(), alpm_pkg_get_arch(), alpm_pkg_get_builddate(), alpm_pkg_get_conflicts(), alpm_pkg_get_depends(), alpm_pkg_get_desc(), alpm_pkg_get_filename(), alpm_pkg_get_groups(), alpm_pkg_get_installdate(), alpm_pkg_get_isize(), alpm_pkg_get_licenses(), alpm_pkg_get_md5sum(), alpm_pkg_get_name(), alpm_pkg_get_optdepends(), alpm_pkg_get_packager(), alpm_pkg_get_provides(), alpm_pkg_get_reason(), alpm_pkg_get_replaces(), alpm_pkg_get_size(), alpm_pkg_get_url(), alpm_pkg_get_version(), alpm_pkg_has_scriptlet(), dump_pkg_backups(), FREELIST, indentprint(), list_display(), PM_PKG_REASON_DEPEND, PM_PKG_REASON_EXPLICIT, and string_display().

Referenced by dump_pkg_sync().

Here is the call graph for this function:

Here is the caller graph for this function:

void dump_pkg_sync ( pmpkg_t pkg,
const char *  treename 
)

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

References _, dump_pkg_full(), and string_display().

Here is the call graph for this function:


Generated on Mon Jan 14 23:57:59 2008 for libalpm by  doxygen 1.5.4