From 5b7b47f01568200f5064ca4b48457edb5ccc3109 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 26 Apr 2009 00:01:43 +0200 Subject: Add getaddrinfo_send/recv --- source3/include/proto.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 9aa9265974..936a724ac5 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1418,6 +1418,13 @@ struct tevent_req *read_smb_send(TALLOC_CTX *mem_ctx, int fd); ssize_t read_smb_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, uint8_t **pbuf, int *perrno); +struct tevent_req *getaddrinfo_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct fncall_context *ctx, + const char *node, + const char *service, + const struct addrinfo *hints); +int getaddrinfo_recv(struct tevent_req *req, struct addrinfo **res); /* The following definitions come from lib/util_str.c */ -- cgit