summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-26 00:01:43 +0200
committerVolker Lendecke <vl@samba.org>2009-05-01 12:30:59 +0200
commit5b7b47f01568200f5064ca4b48457edb5ccc3109 (patch)
tree51c1189540c49e4b753559c68bd3e466546bbc23 /source3/include
parent8cf75770cf2b3905ca98c84b21fadca8e05f08b7 (diff)
downloadsamba-5b7b47f01568200f5064ca4b48457edb5ccc3109.tar.gz
samba-5b7b47f01568200f5064ca4b48457edb5ccc3109.tar.bz2
samba-5b7b47f01568200f5064ca4b48457edb5ccc3109.zip
Add getaddrinfo_send/recv
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
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 */