From: Tim Potter Date: Thu, 10 Jun 2004 07:04:02 +0000 (+0000) Subject: r1100: Comment out functions that we now get from other sources (misc.idl and X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=b3bc3d2ef41e2c5948a05d0c10591befdb2444a5;p=jelmer%2Fsamba4-debian.git r1100: Comment out functions that we now get from other sources (misc.idl and lsarpc.idl). Add stub for ndr_pull_relative() function. --- diff --git a/source/build/pidl/packet-dcerpc-eparser.c b/source/build/pidl/packet-dcerpc-eparser.c index 8b828da38..5ae0a4a93 100644 --- a/source/build/pidl/packet-dcerpc-eparser.c +++ b/source/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/source/build/pidl/packet-dcerpc-eparser.h b/source/build/pidl/packet-dcerpc-eparser.h index 5c26a40b3..9e5dfdd3c 100644 --- a/source/build/pidl/packet-dcerpc-eparser.h +++ b/source/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 */