pacman.c File Reference

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <getopt.h>
#include <string.h>
#include <signal.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include <locale.h>
#include <time.h>
#include <alpm.h>
#include <alpm_list.h>
#include "pacman.h"
#include "util.h"
#include "callback.h"
#include "conf.h"
#include "package.h"

Include dependency graph for pacman.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Variables

pmdb_tdb_local


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main function.

Parameters:
argc argc
argv argv
Returns:
A return code indicating success, failure, etc.

Definition at line 741 of file pacman.c.

References _, alpm_db_register_local(), alpm_initialize(), alpm_list_getdata(), alpm_list_next(), alpm_option_get_cachedirs(), alpm_option_get_dbpath(), alpm_option_get_lockfile(), alpm_option_get_logfile(), alpm_option_get_root(), alpm_option_set_dbpath(), alpm_option_set_dlcb(), alpm_option_set_logcb(), alpm_option_set_logfile(), alpm_option_set_root(), alpm_strerrorlast(), cb_dl_progress(), cb_log(), config, config_new(), __config_t::configfile, list_display(), needs_transaction(), __config_t::noprogressbar, __config_t::op, pacman_add(), pacman_deptest(), pacman_query(), pacman_remove(), pacman_sync(), pacman_upgrade(), PM_LOG_ERROR, PM_OP_ADD, PM_OP_DEPTEST, PM_OP_QUERY, PM_OP_REMOVE, PM_OP_SYNC, PM_OP_UPGRADE, pm_printf(), and __config_t::verbose.

Here is the call 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:27 2008 for libalpm by  doxygen 1.5.4