diff options
Diffstat (limited to 'scrape.h')
-rw-r--r-- | scrape.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scrape.h b/scrape.h index f163e52..df1d38a 100644 --- a/scrape.h +++ b/scrape.h @@ -34,8 +34,8 @@ struct collector { bool has_args; }; -/** Sets up a scrape server listening at the given port. */ -scrape_server *scrape_listen(const char *port); +/** Sets up a scrape server listening at the given host:port. */ +scrape_server *scrape_listen(const char *host, const char *port); /** Enters a loop serving scrape requests of the provided collectors. */ void scrape_serve(scrape_server *server, unsigned ncoll, const struct collector *coll[], void *coll_ctx[]); |