query.c File Reference

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
#include <unistd.h>
#include <alpm.h>
#include <alpm_list.h>
#include "pacman.h"
#include "package.h"
#include "conf.h"
#include "util.h"

Include dependency graph for query.c:

Go to the source code of this file.

Functions

int pacman_query (alpm_list_t *targets)

Variables

pmdb_tdb_local


Function Documentation

int pacman_query ( alpm_list_t targets  ) 

Definition at line 324 of file query.c.

References _, alpm_db_get_pkg(), alpm_db_getpkgcache(), alpm_list_count(), alpm_list_getdata(), alpm_list_next(), alpm_option_get_syncdbs(), alpm_pkg_free(), alpm_pkg_load(), config, __config_t::group, __config_t::op_q_foreign, __config_t::op_q_isfile, __config_t::op_q_owns, __config_t::op_q_search, __config_t::op_q_upgrade, PM_LOG_ERROR, and pm_printf().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

pmdb_t* db_local

Definition at line 48 of file pacman.c.


Generated on Mon Jan 14 23:58:42 2008 for libalpm by  doxygen 1.5.4