diff options
author | Christian Hesse <mail@eworm.de> | 2018-07-04 13:59:24 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-07-04 16:19:34 +0200 |
commit | a834db5dc933a4b48c8323ae3e490448a86b448f (patch) | |
tree | 7fb8f9a7ac526633999ee47adb6f533cec3d7e5a /pacredir.h | |
parent | ad79ff8b22318c22eb25a157d5e2a210afa77de6 (diff) | |
download | pacredir-a834db5dc933a4b48c8323ae3e490448a86b448f.tar.gz pacredir-a834db5dc933a4b48c8323ae3e490448a86b448f.tar.zst |
use private bind mounts for pacserve, remove pacdbservesystemd-v233
We want just one service to serve database files and package archives.
Private bind mounts make both available to pacserve. This alse removes
some complexity in pacredir.
Diffstat (limited to 'pacredir.h')
-rw-r--r-- | pacredir.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -66,7 +66,6 @@ struct hosts { char address[AVAHI_ADDRESS_STR_MAX]; /* online status and bad time for services */ struct services pacserve; - struct services pacdbserve; /* pointer to next struct element */ struct hosts * next; }; @@ -100,7 +99,7 @@ int write_log(FILE *stream, const char *format, ...); /* get_fqdn */ char * get_fqdn(const char * hostname, const char * domainname); /* get_url */ -char * get_url(const char * hostname, AvahiProtocol proto, const char * address, const uint16_t port, const char * uri); +char * get_url(const char * hostname, AvahiProtocol proto, const char * address, const uint16_t port, const uint8_t dbfile, const char * uri); /* add_host */ int add_host(const char * host, AvahiProtocol proto, const char * address, const uint16_t port, const char * type); |