aboutsummaryrefslogtreecommitdiffstats
path: root/pacredir.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-14 22:14:57 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-14 22:14:57 +0100
commit013a1a1451196cf32485058802354b349afc3bb7 (patch)
tree7d165c1d8fd58c1aa3153189f550758f217b9b89 /pacredir.h
parent86dea85287ab34cf67e5b69a8d1af53c5fbc325b (diff)
downloadpacredir-013a1a1451196cf32485058802354b349afc3bb7.tar.gz
pacredir-013a1a1451196cf32485058802354b349afc3bb7.tar.zst
do a request as soon as host is up to check bad status
Diffstat (limited to 'pacredir.h')
-rw-r--r--pacredir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pacredir.h b/pacredir.h
index 6922f0d..f5107ec 100644
--- a/pacredir.h
+++ b/pacredir.h
@@ -55,6 +55,8 @@ struct request {
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, const uint16_t port, const char * uri);
/* add_host */
int add_host(const char * host, const char * type);