summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 18:56:37 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 18:56:37 +0200
commit55fd6b125c3e5ac135d124c291f5ae6102fcbb2f (patch)
tree02c6361784681f9e0cb3a0b75b6683d0258086e2 /source4/lib
parentc17898db4e2e1ac342ce9dfb0991d58dbd6ea4af (diff)
downloadsamba-55fd6b125c3e5ac135d124c291f5ae6102fcbb2f.tar.gz
samba-55fd6b125c3e5ac135d124c291f5ae6102fcbb2f.tar.bz2
samba-55fd6b125c3e5ac135d124c291f5ae6102fcbb2f.zip
Remove support for obsolete data type "ipv4address"
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/tdr/tdr.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/source4/lib/tdr/tdr.c b/source4/lib/tdr/tdr.c
index 2ad099174d..6c5461a335 100644
--- a/source4/lib/tdr/tdr.c
+++ b/source4/lib/tdr/tdr.c
@@ -199,40 +199,6 @@ NTSTATUS tdr_print_charset(struct tdr_print *tdr, const char *name, const char *
}
/**
- pull a ipv4address
-*/
-NTSTATUS tdr_pull_ipv4address(struct tdr_pull *tdr, TALLOC_CTX *ctx,
- const char **address)
-{
- struct in_addr in;
- TDR_CHECK(tdr_pull_uint32(tdr, ctx, &in.s_addr));
- in.s_addr = htonl(in.s_addr);
- *address = talloc_strdup(tdr, inet_ntoa(in));
- NT_STATUS_HAVE_NO_MEMORY(*address);
- return NT_STATUS_OK;
-}
-
-/**
- push a ipv4address
-*/
-NTSTATUS tdr_push_ipv4address(struct tdr_push *tdr, const char **address)
-{
- uint32_t addr = htonl(interpret_addr(*address));
- TDR_CHECK(tdr_push_uint32(tdr, &addr));
- return NT_STATUS_OK;
-}
-
-/**
- print a ipv4address
-*/
-NTSTATUS tdr_print_ipv4address(struct tdr_print *tdr, const char *name,
- const char **address)
-{
- tdr->print(tdr, "%-25s: %s", name, *address);
- return NT_STATUS_OK;
-}
-
-/**
parse a hyper
*/
NTSTATUS tdr_pull_hyper(struct tdr_pull *tdr, TALLOC_CTX *ctx, uint64_t *v)