From f8bfe729e49fe5d7fd7df80733ad3d2d1c61160d Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Wed, 3 Sep 2003 02:09:29 +0000 Subject: Imported from pacman-2.6.tar.gz --- src/pacsync.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/pacsync.h') diff --git a/src/pacsync.h b/src/pacsync.h index abb657f8..fe9b5ba3 100644 --- a/src/pacsync.h +++ b/src/pacsync.h @@ -1,5 +1,5 @@ /* - * pacman + * pacsync.h * * Copyright (c) 2002 by Judd Vinet * @@ -23,7 +23,7 @@ /* Servers */ typedef struct __server_t { - unsigned short islocal; + char* protocol; char* server; char* path; } server_t; @@ -44,11 +44,12 @@ typedef struct __dbsync_t { typedef struct __syncpkg_t { pkginfo_t *pkg; dbsync_t *dbs; + PMList *replaces; } syncpkg_t; int sync_synctree(); int downloadfiles(PMList *servers, char *localpath, PMList *files); -int is_pkginsync(syncpkg_t *needle, PMList *haystack); +syncpkg_t* find_pkginsync(char *needle, PMList *haystack); #endif -- cgit v1.2.3-24-g4f1b