diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-28 13:21:57 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-28 13:21:57 +0100 |
commit | 6c13003e4b90fb96f91c9010b98ae833af38b991 (patch) | |
tree | 23e90c283ed58f7dfc119ca0fb271d9596426af6 /pacredir.c | |
parent | 64a479c75322d78faf4f9bef26ba1d5e3f95dd85 (diff) | |
download | paccache-6c13003e4b90fb96f91c9010b98ae833af38b991.tar.gz paccache-6c13003e4b90fb96f91c9010b98ae833af38b991.tar.zst |
move configuration to config.h
Diffstat (limited to 'pacredir.c')
-rw-r--r-- | pacredir.c | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -24,24 +24,7 @@ #include <curl/curl.h> #include <microhttpd.h> -#if defined __x86_64__ -# define ARCH "x86_64" -#elif defined __i386__ -# define ARCH "i686" -#else -# error Unknown architecture! -#endif - -#define PAGE307 "<html><head><title>307 temporary redirect</title>" \ - "</head><body>307 temporary redirect: " \ - "<a href=\"%s\">%s</a></body></html>" -#define PAGE404 "<html><head><title>404 Not Found</title>" \ - "</head><body>404 Not Found: %s</body></html>" -#define PORT 7077 -#define PACSERVE "_pacserve._tcp" -#define PACDBSERVE "_pacdbserve_" ARCH "._tcp" -#define SYNCPATH "/var/lib/pacman/sync" -#define BADTIME 60 * 10 +#include "config.h" /* services */ struct services { |