#define ndr_token_retrieve_cmp_fn(list, key, valp, fn, remove) \
ndr_token_fetch_ex(list, key, valp, fn, ((remove)?false:true))
-#define ndr_print_struct(a,b,c)
-#define ndr_print_union(a,b,c,d)
-#define ndr_print_enum(a,b,c,d,e)
-
-#define ndr_print_bitmap_flag(a,b,c,d,e)
-#define ndr_print_bad_level(a,b,c)
-
-#define ndr_print_function_string(a,b,c,d,e) NULL
-
struct dom_sid;
void ndr_print_dom_sid(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
void ndr_print_dom_sid2(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
--- /dev/null
+/*
+ NDR library used by pidl bindings
+
+ Copyright (C) Stefan Metzmacher 2008
+
+ ** NOTE! The following LGPL license applies to the ndr
+ ** library. This does NOT imply that all of Samba is released
+ ** under the LGPL
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "includes.h" /* TODO: remove this! */
+
+#include "libndr.h"
+
+void ndr_print_bitmap_flag(struct ndr_print *ndr, size_t size, const char *flag_name,
+ uint32_t flag, uint32_t value)
+{
+ /*TODO*/
+}
+
+void ndr_print_enum(struct ndr_print *print, const char *name, const char *type,
+ const char *value_string, uint32_t value)
+{
+ /*TODO*/
+}
+
+void ndr_print_struct(struct ndr_print *print, const char *name, const char *type)
+{
+ /*TODO*/
+}
+
+void ndr_print_union(struct ndr_print *print, const char *name,
+ int32_t level, const char *type)
+{
+ /*TODO*/
+}
+
+void ndr_print_bad_level(struct ndr_print *print, const char *name, uint32_t level)
+{
+ /*TODO*/
+}
+
+void ndr_print_string_helper(struct ndr_print *print, const char *format, ...) _PRINTF_ATTRIBUTE(2,3)
+{
+ /*TODO*/
+}
+
+char *ndr_print_function_string(TALLOC_CTX *mem_ctx,
+ ndr_print_function_t fn, const char *name,
+ uint32_t flags, const void *ptr)
+{
+ /*TODO*/
+ return NULL;
+}