conf.c File Reference

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "conf.h"

Include dependency graph for conf.c:

Go to the source code of this file.

Functions

config_tconfig_new (void)
int config_free (config_t *oldconfig)

Variables

config_tconfig = NULL


Function Documentation

int config_free ( config_t oldconfig  ) 

Definition at line 52 of file conf.c.

References __config_t::configfile, __config_t::dbpath, __config_t::logfile, and __config_t::rootdir.

config_t* config_new ( void   ) 

Definition at line 32 of file conf.c.

References __config_t::configfile, __config_t::dbpath, __config_t::logfile, __config_t::logmask, __config_t::op, PM_LOG_ERROR, PM_LOG_WARNING, PM_OP_MAIN, and __config_t::rootdir.

Referenced by main().

Here is the caller graph for this function:


Variable Documentation

config_t* config = NULL

Definition at line 30 of file conf.c.

Referenced by _alpm_pkg_load(), cb_dl_progress(), cb_trans_conv(), cb_trans_evt(), cb_trans_progress(), display_targets(), main(), needs_transaction(), pacman_add(), pacman_query(), pacman_remove(), pacman_sync(), pacman_upgrade(), pm_vasprintf(), pm_vfprintf(), and yesno().


Generated on Mon Jan 14 23:55:32 2008 for libalpm by  doxygen 1.5.4