summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/backup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/backup.h')
-rw-r--r--lib/libalpm/backup.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libalpm/backup.h b/lib/libalpm/backup.h
index 9475aa2a..0b84a68c 100644
--- a/lib/libalpm/backup.h
+++ b/lib/libalpm/backup.h
@@ -21,10 +21,12 @@
#define _ALPM_BACKUP_H
#include "alpm_list.h"
+#include "alpm.h"
-char *_alpm_backup_file(const char *string);
-char *_alpm_backup_hash(const char *string);
-char *_alpm_needbackup(const char *file, const alpm_list_t *backup);
+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);
#endif /* _ALPM_BACKUP_H */