libalpm
Arch Linux Package Manager Library
Functions
conflict.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <sys/stat.h>
#include <dirent.h>
#include "conflict.h"
#include "alpm_list.h"
#include "alpm.h"
#include "handle.h"
#include "trans.h"
#include "util.h"
#include "log.h"
#include "deps.h"
Include dependency graph for conflict.c:

Go to the source code of this file.

Functions

void _alpm_conflict_free (alpm_conflict_t *conflict)
alpm_conflict_t_alpm_conflict_dup (const 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_talpm_checkconflicts (alpm_handle_t *handle, alpm_list_t *pkglist)
 Check the package conflicts in a database.
void _alpm_fileconflict_free (alpm_fileconflict_t *conflict)
const alpm_file_t_alpm_filelist_contains (alpm_filelist_t *filelist, const char *name)
alpm_list_t_alpm_db_find_fileconflicts (alpm_handle_t *handle, alpm_list_t *upgrade, alpm_list_t *remove)

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: