summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-06-10 07:04:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:38 -0500
commit557ea1c6410079cf0ea58186f4db60302fc02155 (patch)
treec457c812d085c4f97e0a3ea68145bf3cd306de5b
parent0f36c59a95b3e2b63c0be2c4d3e0017c248c02bf (diff)
downloadsamba-557ea1c6410079cf0ea58186f4db60302fc02155.tar.gz
samba-557ea1c6410079cf0ea58186f4db60302fc02155.tar.bz2
samba-557ea1c6410079cf0ea58186f4db60302fc02155.zip
r1100: Comment out functions that we now get from other sources (misc.idl and
lsarpc.idl). Add stub for ndr_pull_relative() function. (This used to be commit b3bc3d2ef41e2c5948a05d0c10591befdb2444a5)
-rw-r--r--source4/build/pidl/packet-dcerpc-eparser.c9
-rw-r--r--source4/build/pidl/packet-dcerpc-eparser.h4
2 files changed, 13 insertions, 0 deletions
diff --git a/source4/build/pidl/packet-dcerpc-eparser.c b/source4/build/pidl/packet-dcerpc-eparser.c
index 8b828da38e..5ae0a4a93e 100644
--- a/source4/build/pidl/packet-dcerpc-eparser.c
+++ b/source4/build/pidl/packet-dcerpc-eparser.c
@@ -97,6 +97,8 @@ void ndr_pull_dom_sid2(struct e_ndr_pull *e_ndr, int hf)
{
}
+#if 0
+
void ndr_pull_security_descriptor(struct e_ndr_pull *e_ndr, int hf)
{
}
@@ -108,6 +110,8 @@ void ndr_pull_policy_handle(struct e_ndr_pull *e_ndr, int hf)
e_ndr->drep, hf, NULL, NULL, 0, 0);
}
+#endif
+
void ndr_pull_advance(struct e_ndr_pull *e_ndr, int offset)
{
e_ndr->offset += offset;
@@ -162,3 +166,8 @@ void ndr_pull_subcontext_header(struct e_ndr_pull *ndr,
struct e_ndr_pull *ndr2)
{
}
+
+void ndr_pull_relative(struct e_ndr_pull *ndr,
+ void (*fn)(struct e_ndr_pull *, int ndr_flags))
+{
+}
diff --git a/source4/build/pidl/packet-dcerpc-eparser.h b/source4/build/pidl/packet-dcerpc-eparser.h
index 5c26a40b3d..9e5dfdd3c8 100644
--- a/source4/build/pidl/packet-dcerpc-eparser.h
+++ b/source4/build/pidl/packet-dcerpc-eparser.h
@@ -80,4 +80,8 @@ void ndr_pull_string(struct e_ndr_pull *e_ndr, int hf);
void ndr_pull_dom_sid2(struct e_ndr_pull *e_ndr, int hf);
void ndr_pull_security_descriptor(struct e_ndr_pull *e_ndr, int hf);
+void ndr_pull_relative(struct e_ndr_pull *ndr,
+ void (*fn)(struct e_ndr_pull *, int ndr_flags));
+
+
#endif /* _packet_dcerpc_eparser_h */