index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-26 20:23:03 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-27 20:40:29 -0400 |
commit | 69bc2e62fe2b94bb1189959e4ed396ffbf5088e1 (patch) | |
tree | 2a7b3720c44a2bb25b96e2a9192e18f0131896ee /lib/libalpm/server.h | |
parent | 3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0 (diff) |
-rw-r--r-- | lib/libalpm/server.h | 4 |
diff --git a/lib/libalpm/server.h b/lib/libalpm/server.h index 8c357ab2..b560f831 100644 --- a/lib/libalpm/server.h +++ b/lib/libalpm/server.h @@ -27,8 +27,6 @@ #include <time.h> #include <download.h> -#define FREESERVER(p) do { if(p){_alpm_server_free(p); p = NULL;}} while(0) - /* Servers */ struct __pmserver_t { /* useless abstraction now? */ @@ -38,7 +36,7 @@ struct __pmserver_t { #define PM_DLBUF_LEN (1024 * 10) pmserver_t *_alpm_server_new(const char *url); -void _alpm_server_free(void *data); +void _alpm_server_free(pmserver_t *server); int _alpm_downloadfiles(alpm_list_t *servers, const char *localpath, alpm_list_t *files); int _alpm_downloadfiles_forreal(alpm_list_t *servers, const char *localpath, alpm_list_t *files, const char *mtime1, char *mtime2); |