diff options
Diffstat (limited to 'src/pacsync.h')
-rw-r--r-- | src/pacsync.h | 3 |
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 |