summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-10 17:29:02 +0100
committerVolker Lendecke <vl@samba.org>2009-02-10 18:29:34 +0100
commit47cb572d401218d43f5e681fd8820517659b48c4 (patch)
tree8a6f2e7dda0e0b4525281c4b2715d34a955b25e8 /source3/include
parentc3baf1529ddd0191e839096ea2e68e3a3457c2d5 (diff)
downloadsamba-47cb572d401218d43f5e681fd8820517659b48c4.tar.gz
samba-47cb572d401218d43f5e681fd8820517659b48c4.tar.bz2
samba-47cb572d401218d43f5e681fd8820517659b48c4.zip
Add read_pkt_send/recv
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c2391c7550..fd6ccce3e0 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1242,6 +1242,15 @@ bool is_valid_policy_hnd(const POLICY_HND *hnd);
bool policy_hnd_equal(const struct policy_handle *hnd1,
const struct policy_handle *hnd2);
const char *strip_hostname(const char *s);
+struct async_req *read_pkt_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ int fd, size_t initial,
+ ssize_t (*more)(uint8_t *buf, size_t buflen,
+ void *priv),
+ void *priv);
+ssize_t read_pkt_recv(struct async_req *req, TALLOC_CTX *mem_ctx,
+ uint8_t **pbuf, int *perr);
+
/* The following definitions come from lib/util_file.c */