diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-07-28 02:21:40 +0100 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-07-29 23:52:23 +0100 |
commit | 509eca76f0755e94b5981f464f9f9a882499180a (patch) | |
tree | 38dc11be859998a3d7850c4fb289d67721a9a2ea /src/core/capsicum.h | |
parent | f4546be7ecb8a0801fb0d30415586c15d721494a (diff) | |
download | irssi-509eca76f0755e94b5981f464f9f9a882499180a.zip |
Make DNS work in capability mode.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Diffstat (limited to 'src/core/capsicum.h')
-rw-r--r-- | src/core/capsicum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/capsicum.h b/src/core/capsicum.h index f8cec28e..2733c1ea 100644 --- a/src/core/capsicum.h +++ b/src/core/capsicum.h @@ -3,6 +3,7 @@ gboolean capsicum_enabled(void); int capsicum_net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip); +int capsicum_net_gethostbyname(const char *addr, IPADDR *ip4, IPADDR *ip6); void capsicum_init(void); void capsicum_deinit(void); |