handle.h File Reference

#include <stdio.h>
#include <sys/types.h>
#include "alpm_list.h"
#include "db.h"
#include "log.h"
#include "alpm.h"
#include "trans.h"

Include dependency graph for handle.h:

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

Go to the source code of this file.

Data Structures

struct  _pmhandle_t

Typedefs

typedef struct _pmhandle_t pmhandle_t

Functions

pmhandle_t_alpm_handle_new ()
void _alpm_handle_free (pmhandle_t *handle)

Variables

pmhandle_thandle


Typedef Documentation

typedef struct _pmhandle_t pmhandle_t


Function Documentation

void _alpm_handle_free ( pmhandle_t handle  ) 

Definition at line 70 of file handle.c.

References _alpm_trans_free(), ALPM_LOG_FUNC, _pmhandle_t::cachedirs, _pmhandle_t::dbpath, _pmhandle_t::dbs_sync, FREE, FREELIST, _pmhandle_t::holdpkg, _pmhandle_t::ignoregrp, _pmhandle_t::ignorepkg, _pmhandle_t::lockfile, _pmhandle_t::logfile, _pmhandle_t::logstream, _pmhandle_t::noextract, _pmhandle_t::noupgrade, _pmhandle_t::root, _pmhandle_t::trans, _pmhandle_t::usesyslog, and _pmhandle_t::xfercommand.

Referenced by alpm_release().

Here is the call graph for this function:

Here is the caller graph for this function:

pmhandle_t* _alpm_handle_new (  ) 

Definition at line 47 of file handle.c.

References ALPM_LOG_FUNC, _pmhandle_t::cachedirs, CALLOC, _pmhandle_t::dbpath, _pmhandle_t::lckfd, _pmhandle_t::lockfile, _pmhandle_t::logfile, _pmhandle_t::logstream, PM_ERR_MEMORY, RET_ERR, _pmhandle_t::root, _pmhandle_t::uid, and _pmhandle_t::usedelta.

Referenced by alpm_initialize().

Here is the caller graph for this function:


Variable Documentation

pmhandle_t* handle

Definition at line 45 of file handle.c.

Referenced by _alpm_add_commit(), _alpm_add_prepare(), _alpm_db_register_local(), _alpm_db_register_sync(), _alpm_downloadfiles_forreal(), _alpm_pkg_should_ignore(), _alpm_remove_commit(), _alpm_remove_loadtarget(), _alpm_sync_commit(), _alpm_trans_addtarget(), _alpm_trans_commit(), _alpm_trans_prepare(), _alpm_trans_sysupgrade(), alpm_conflict_get_package1(), alpm_conflict_get_package2(), alpm_db_get_name(), alpm_db_get_pkg(), alpm_db_get_url(), alpm_db_getgrpcache(), alpm_db_getpkgcache(), alpm_db_readgrp(), alpm_db_register_local(), alpm_db_register_sync(), alpm_db_search(), alpm_db_setserver(), alpm_db_unregister(), alpm_db_unregister_all(), alpm_db_update(), alpm_db_whatprovides(), alpm_fileconflict_get_ctarget(), alpm_fileconflict_get_file(), alpm_fileconflict_get_target(), alpm_fileconflict_get_type(), alpm_initialize(), alpm_logaction(), alpm_pkg_changelog_open(), alpm_pkg_checkmd5sum(), alpm_pkg_download_size(), alpm_pkg_get_arch(), alpm_pkg_get_backup(), alpm_pkg_get_builddate(), alpm_pkg_get_conflicts(), alpm_pkg_get_deltas(), alpm_pkg_get_depends(), alpm_pkg_get_desc(), alpm_pkg_get_filename(), alpm_pkg_get_files(), alpm_pkg_get_groups(), alpm_pkg_get_installdate(), alpm_pkg_get_isize(), alpm_pkg_get_licenses(), alpm_pkg_get_md5sum(), alpm_pkg_get_name(), alpm_pkg_get_optdepends(), alpm_pkg_get_packager(), alpm_pkg_get_provides(), alpm_pkg_get_reason(), alpm_pkg_get_replaces(), alpm_pkg_get_size(), alpm_pkg_get_url(), alpm_pkg_get_version(), alpm_pkg_has_scriptlet(), alpm_release(), alpm_trans_addtarget(), alpm_trans_commit(), alpm_trans_get_flags(), alpm_trans_get_pkgs(), alpm_trans_get_targets(), alpm_trans_get_type(), alpm_trans_init(), alpm_trans_interrupt(), alpm_trans_prepare(), alpm_trans_release(), and alpm_trans_sysupgrade().


Generated on Mon Jan 14 23:57:30 2008 for libalpm by  doxygen 1.5.4