conf.h File Reference

#include <alpm.h>

Include dependency graph for conf.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  __config_t

Typedefs

typedef struct __config_t config_t

Enumerations

enum  {
  PM_OP_MAIN = 1, PM_OP_ADD, PM_OP_REMOVE, PM_OP_UPGRADE,
  PM_OP_QUERY, PM_OP_SYNC, PM_OP_DEPTEST
}

Functions

config_tconfig_new (void)
int config_free (config_t *oldconfig)

Variables

config_tconfig


Typedef Documentation

typedef struct __config_t config_t


Enumeration Type Documentation

anonymous enum

Enumerator:
PM_OP_MAIN 
PM_OP_ADD 
PM_OP_REMOVE 
PM_OP_UPGRADE 
PM_OP_QUERY 
PM_OP_SYNC 
PM_OP_DEPTEST 

Definition at line 76 of file conf.h.


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

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:33 2008 for libalpm by  doxygen 1.5.4