diff options
author | Judd Vinet <judd@archlinux.org> | 2003-09-03 04:09:29 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-09-03 04:09:29 +0200 |
commit | f8bfe729e49fe5d7fd7df80733ad3d2d1c61160d (patch) | |
tree | b74d15bfa71703e08f0a815bcc4353b2449db6a4 /src/pacsync.h | |
parent | ffe1d50cff3e1df8834f371e1b7a40fa2c703e9b (diff) | |
download | pacman-f8bfe729e49fe5d7fd7df80733ad3d2d1c61160d.tar.gz pacman-f8bfe729e49fe5d7fd7df80733ad3d2d1c61160d.tar.xz |
Imported from pacman-2.6.tar.gz
Diffstat (limited to 'src/pacsync.h')
-rw-r--r-- | src/pacsync.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <jvinet@zeroflux.org> * @@ -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 |