summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-02 23:21:10 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-02 23:21:10 +0000
commit686e8eaeb5dfe74f28c5f1b25bb0a7f555ff2e6d (patch)
treef09e15ce9834cc1c02abeca205db461ef73c1703 /lib/libalpm/sync.h
parent80bae750cd8ec44aa879b22fb1fdcc41036cbff6 (diff)
downloadpacman-686e8eaeb5dfe74f28c5f1b25bb0a7f555ff2e6d.tar.xz
more work to backport pacman_sync from pacman 2.9.5
Diffstat (limited to 'lib/libalpm/sync.h')
-rw-r--r--lib/libalpm/sync.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libalpm/sync.h b/lib/libalpm/sync.h
index 667dc4f4..51e0dd3d 100644
--- a/lib/libalpm/sync.h
+++ b/lib/libalpm/sync.h
@@ -26,14 +26,22 @@
#include "trans.h"
#include "alpm.h"
+typedef struct __syncpkg_t { /* ORE: not used for now */
+ pmpkg_t *pkg;
+ pmdb_t *db;
+} pmsyncpkg_t;
+
typedef struct __pmsync_t {
unsigned char type;
pmpkg_t *lpkg;
pmpkg_t *spkg;
+ pmdb_t *dbs; /* ORE: not used for now */
} pmsync_t;
pmsync_t *sync_new(int type, pmpkg_t *lpkg, pmpkg_t *spkg);
+PMList *sync_load_archive(char *archive);
+
/*int sync_findpkg(char *name, PMList *dbs, pmsyncpkg_t **sync);
pmsyncpkg_t *find_pkginsync(char *needle, PMList *haystack);
PMList *rm_pkginsync(char *needle, PMList *haystack);*/