summaryrefslogtreecommitdiffstats
path: root/src/pacsync.h
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-05-30 21:56:46 +0200
committerJudd Vinet <judd@archlinux.org>2003-05-30 21:56:46 +0200
commit636c6411196ba415652ea3357c781cbe62afea6b (patch)
treed955b454a0e22faec330725758b03fb4186f079e /src/pacsync.h
parente9c6f3b2131217acb4191ed69bfc3f6efa53dfbf (diff)
downloadpacman-636c6411196ba415652ea3357c781cbe62afea6b.tar.gz
pacman-636c6411196ba415652ea3357c781cbe62afea6b.tar.xz
Imported from pacman-2.5.tar.gz
Diffstat (limited to 'src/pacsync.h')
-rw-r--r--src/pacsync.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacsync.h b/src/pacsync.h
index 1838a684..abb657f8 100644
--- a/src/pacsync.h
+++ b/src/pacsync.h
@@ -21,12 +21,14 @@
#ifndef _PAC_PACSYNC_H
#define _PAC_PACSYNC_H
+/* Servers */
typedef struct __server_t {
unsigned short islocal;
char* server;
char* path;
} server_t;
+/* Repositories */
typedef struct __sync_t {
char* treename;
PMList *servers;
@@ -46,6 +48,7 @@ typedef struct __syncpkg_t {
int sync_synctree();
int downloadfiles(PMList *servers, char *localpath, PMList *files);
+int is_pkginsync(syncpkg_t *needle, PMList *haystack);
#endif