summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-01-09 05:50:15 +0000
committerTim Potter <tpot@samba.org>2003-01-09 05:50:15 +0000
commitbaa1276eb0adfef420b0e9bb4a9365c397ef9d84 (patch)
tree74918102a89cc61feae1263aef7fc4c6a9fd20f2 /source3/rpc_parse
parent642fad95ef95406b40e318c672b73d0ca72c8ebe (diff)
downloadsamba-baa1276eb0adfef420b0e9bb4a9365c397ef9d84.tar.gz
samba-baa1276eb0adfef420b0e9bb4a9365c397ef9d84.tar.bz2
samba-baa1276eb0adfef420b0e9bb4a9365c397ef9d84.zip
Remove dead function.
(This used to be commit 6ed4d80baa5ff529bb0a06d7e52528b307ca4a0c)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_prs.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index 63f9527dec..6f6117a9e2 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -116,25 +116,6 @@ BOOL prs_init(prs_struct *ps, uint32 size, TALLOC_CTX *ctx, BOOL io)
}
/*******************************************************************
- read from a socket into memory.
- ********************************************************************/
-BOOL prs_read(prs_struct *ps, int fd, size_t len, int timeout)
-{
- BOOL ok;
- size_t prev_size = ps->buffer_size;
- if (!prs_grow(ps, len))
- return False;
-
- if (timeout > 0) {
- ok = (read_with_timeout(fd, &ps->data_p[prev_size],
- len, len,timeout) == len);
- } else {
- ok = (read_data(fd, &ps->data_p[prev_size], len) == len);
- }
- return ok;
-}
-
-/*******************************************************************
Delete the memory in a parse structure - if we own it.
********************************************************************/