libalpm
Arch Linux Package Manager Library
Functions
backup.c File Reference
#include <stdlib.h>
#include <string.h>
#include "backup.h"
#include "alpm_list.h"
#include "log.h"
#include "util.h"
Include dependency graph for backup.c:

Go to the source code of this file.

Functions

int _alpm_split_backup (const char *string, alpm_backup_t **backup)
alpm_backup_t_alpm_needbackup (const char *file, alpm_pkg_t *pkg)
void _alpm_backup_free (alpm_backup_t *backup)
alpm_backup_t_alpm_backup_dup (const alpm_backup_t *backup)

Function Documentation

Definition at line 85 of file backup.c.

References CALLOC, _alpm_backup_t::hash, _alpm_backup_t::name, and STRDUP.

Referenced by _alpm_pkg_dup().

Here is the caller graph for this function:

void _alpm_backup_free ( alpm_backup_t backup)

Definition at line 78 of file backup.c.

References _alpm_backup_t::hash, and _alpm_backup_t::name.

Referenced by _alpm_pkg_free().

Here is the caller graph for this function:

alpm_backup_t* _alpm_needbackup ( const char *  file,
alpm_pkg_t pkg 
)

Definition at line 59 of file backup.c.

References alpm_pkg_get_backup(), __alpm_list_t::data, _alpm_backup_t::name, and __alpm_list_t::next.

Referenced by _alpm_db_find_fileconflicts().

Here is the call graph for this function:

Here is the caller graph for this function:

int _alpm_split_backup ( const char *  string,
alpm_backup_t **  backup 
)

Definition at line 34 of file backup.c.

References FREE, and STRDUP.