libalpm
Arch Linux Package Manager Library
Functions
conflict.h File Reference
#include "alpm.h"
#include "db.h"
#include "package.h"
Include dependency graph for conflict.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

alpm_conflict_t_alpm_conflict_dup (const alpm_conflict_t *conflict)
void _alpm_conflict_free (alpm_conflict_t *conflict)
alpm_list_t_alpm_innerconflicts (alpm_handle_t *handle, alpm_list_t *packages)
alpm_list_t_alpm_outerconflicts (alpm_db_t *db, alpm_list_t *packages)
alpm_list_t_alpm_db_find_fileconflicts (alpm_handle_t *handle, alpm_list_t *upgrade, alpm_list_t *remove)
void _alpm_fileconflict_free (alpm_fileconflict_t *conflict)
const alpm_file_t_alpm_filelist_contains (alpm_filelist_t *filelist, const char *name)

Function Documentation

void _alpm_conflict_free ( alpm_conflict_t conflict)

Definition at line 58 of file conflict.c.

References FREE, _alpm_conflict_t::package1, and _alpm_conflict_t::package2.

Referenced by _alpm_sync_prepare().

Here is the caller graph for this function:

alpm_list_t* _alpm_db_find_fileconflicts ( alpm_handle_t handle,
alpm_list_t upgrade,
alpm_list_t remove 
)

Definition at line 307 of file conflict.c.

References _alpm_fileconflict_t::ctarget, _alpm_fileconflict_t::file, FREE, and _alpm_fileconflict_t::target.

Referenced by _alpm_sync_commit().

Here is the caller graph for this function:

const alpm_file_t* _alpm_filelist_contains ( alpm_filelist_t filelist,
const char *  name 
)

Definition at line 315 of file conflict.c.

References _alpm_filelist_t::files, and _alpm_file_t::name.

Referenced by _alpm_db_find_fileconflicts().

Here is the caller graph for this function:

alpm_list_t* _alpm_innerconflicts ( alpm_handle_t handle,
alpm_list_t packages 
)

Definition at line 171 of file conflict.c.

References _alpm_log(), and ALPM_LOG_DEBUG.

Referenced by _alpm_sync_prepare(), and alpm_checkconflicts().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 182 of file conflict.c.

References _alpm_db_get_pkgcache(), _alpm_log(), _alpm_pkg_cmp(), alpm_list_diff(), alpm_list_free(), ALPM_LOG_DEBUG, and __alpm_db_t::handle.

Referenced by _alpm_sync_prepare().

Here is the call graph for this function:

Here is the caller graph for this function: