|
libalpm
Arch Linux Package Manager Library
|
#include <ctype.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 <errno.h>#include <alpm.h>#include <alpm_list.h>#include "pacman.h"#include "util.h"#include "conf.h"
Go to the source code of this file.
Defines | |
| #define | addlist(s) (list = alpm_list_add(list, s)) |
| #define | check_optarg() if(!optarg) { return 1; } |
Functions | |
| int | main (int argc, char *argv[]) |
| Main function. | |
| #define addlist | ( | s | ) | (list = alpm_list_add(list, s)) |
| #define check_optarg | ( | ) | if(!optarg) { return 1; } |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main function.
| argc | argc |
| argv | argv |
Definition at line 756 of file pacman.c.
References _, alpm_list_add(), alpm_list_find_str(), alpm_list_next(), alpm_list_remove_str(), ALPM_LOG_ERROR, ALPM_LOG_WARNING, alpm_option_get_cachedirs(), alpm_option_get_dbpath(), alpm_option_get_gpgdir(), alpm_option_get_lockfile(), alpm_option_get_logfile(), alpm_option_get_root(), ALPM_TRANS_FLAG_NOCONFLICTS, ALPM_TRANS_FLAG_NOLOCK, config, config_new(), __config_t::configfile, __alpm_list_t::data, __config_t::flags, __config_t::handle, list_display(), __config_t::logmask, needs_root(), __config_t::noask, __config_t::noconfirm, __config_t::noprogressbar, __config_t::op, __config_t::op_s_clean, pacman_database(), pacman_deptest(), pacman_query(), pacman_remove(), pacman_sync(), pacman_upgrade(), parseconfig(), PM_OP_DATABASE, PM_OP_DEPTEST, PM_OP_QUERY, PM_OP_REMOVE, PM_OP_SYNC, PM_OP_UPGRADE, pm_printf(), __config_t::print, and __config_t::verbose.

1.7.6.1