summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-24 14:22:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:09 -0500
commit76ab42061529f026f3cade4ab2b2779dd676a61a (patch)
tree3fc494de5b951cc7dc1a8bff9d8a3c4396aa0ccf /source4/pidl/lib/Parse/Pidl/Samba4
parent8973ac8a393f9df64ea37de79397161815e1ce2c (diff)
downloadsamba-76ab42061529f026f3cade4ab2b2779dd676a61a.tar.gz
samba-76ab42061529f026f3cade4ab2b2779dd676a61a.tar.bz2
samba-76ab42061529f026f3cade4ab2b2779dd676a61a.zip
r14692: Get rid of the obfuscation() attribute
(This used to be commit 122d1d0249800d51e45ce0d092c97f1f9bf2c7d5)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm59
1 files changed, 0 insertions, 59 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index e3058665f2..f29518d21f 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -464,42 +464,6 @@ sub ParseCompressionPullEnd($$$$)
pidl "}";
}
-sub ParseObfuscationPushStart($$)
-{
- my ($e,$ndr) = @_;
- my $obfuscation = has_property($e, "obfuscation");
-
- pidl "NDR_CHECK(ndr_push_obfuscation_start($ndr, $obfuscation));";
-
- return $ndr;
-}
-
-sub ParseObfuscationPushEnd($$)
-{
- my ($e,$ndr) = @_;
- my $obfuscation = has_property($e, "obfuscation");
-
- pidl "NDR_CHECK(ndr_push_obfuscation_end($ndr, $obfuscation));";
-}
-
-sub ParseObfuscationPullStart($$)
-{
- my ($e,$ndr) = @_;
- my $obfuscation = has_property($e, "obfuscation");
-
- pidl "NDR_CHECK(ndr_pull_obfuscation_start($ndr, $obfuscation));";
-
- return $ndr;
-}
-
-sub ParseObfuscationPullEnd($$)
-{
- my ($e,$ndr) = @_;
- my $obfuscation = has_property($e, "obfuscation");
-
- pidl "NDR_CHECK(ndr_pull_obfuscation_end($ndr, $obfuscation));";
-}
-
sub ParseSubcontextPushStart($$$$)
{
my ($e,$l,$ndr,$env) = @_;
@@ -515,10 +479,6 @@ sub ParseSubcontextPushStart($$$$)
$subndr = ParseCompressionPushStart($e, $l, $subndr, $env);
}
- if (defined $l->{OBFUSCATION}) {
- $subndr = ParseObfuscationPushStart($e, $subndr);
- }
-
return $subndr;
}
@@ -532,10 +492,6 @@ sub ParseSubcontextPushEnd($$$$)
ParseCompressionPushEnd($e, $l, $subndr, $env);
}
- if (defined $l->{OBFUSCATION}) {
- ParseObfuscationPushEnd($e, $subndr);
- }
-
pidl "NDR_CHECK(ndr_push_subcontext_end($ndr, $subndr, $l->{HEADER_SIZE}, $subcontext_size));";
deindent;
pidl "}";
@@ -556,10 +512,6 @@ sub ParseSubcontextPullStart($$$$)
$subndr = ParseCompressionPullStart($e, $l, $subndr, $env);
}
- if (defined $l->{OBFUSCATION}) {
- $subndr = ParseObfuscationPullStart($e, $subndr);
- }
-
return $subndr;
}
@@ -573,10 +525,6 @@ sub ParseSubcontextPullEnd($$$$)
ParseCompressionPullEnd($e, $l, $subndr, $env);
}
- if (defined $l->{OBFUSCATION}) {
- ParseObfuscationPullEnd($e, $subndr);
- }
-
pidl "NDR_CHECK(ndr_pull_subcontext_end($ndr, $subndr, $l->{HEADER_SIZE}, $subcontext_size));";
deindent;
pidl "}";
@@ -2351,10 +2299,6 @@ sub ParseInterface($$)
pidl choose_header("librpc/ndr/ndr_compression.h", "ndr/compression.h");
}
- if ($needed->{"obfuscate"}) {
- pidl "#include \"ndr_obfuscate.h\"";
- }
-
HeaderInterface($interface);
# Typedefs
@@ -2472,9 +2416,6 @@ sub NeededTypedef($$)
if (has_property($e, "compression")) {
$needed->{"compression"} = 1;
}
- if (has_property($e, "obfuscation")) {
- $needed->{"obfuscate"} = 1;
- }
if ($needed->{"pull_$t->{NAME}"} and
not defined($needed->{"pull_$e->{TYPE}"})) {
$needed->{"pull_$e->{TYPE}"} = 1;