libndr: basic print stuff as dummy functions
[metze/samba/wb-ndr.git] / source4 / lib / ndr / ndr_print.c
1 /*
2    NDR library used by pidl bindings
3
4    Copyright (C) Stefan Metzmacher 2008
5
6      ** NOTE! The following LGPL license applies to the ndr
7      ** library. This does NOT imply that all of Samba is released
8      ** under the LGPL
9
10    This library is free software; you can redistribute it and/or
11    modify it under the terms of the GNU Lesser General Public
12    License as published by the Free Software Foundation; either
13    version 3 of the License, or (at your option) any later version.
14
15    This library is distributed in the hope that it will be useful,
16    but WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    Lesser General Public License for more details.
19
20    You should have received a copy of the GNU Lesser General Public
21    License along with this library; if not, see <http://www.gnu.org/licenses/>.
22 */
23
24 #include "includes.h" /* TODO: remove this! */
25
26 #include "libndr.h"
27
28 void ndr_print_bitmap_flag(struct ndr_print *ndr, size_t size, const char *flag_name,
29                            uint32_t flag, uint32_t value)
30 {
31         /*TODO*/
32 }
33
34 void ndr_print_enum(struct ndr_print *print, const char *name, const char *type,
35                     const char *value_string, uint32_t value)
36 {
37         /*TODO*/
38 }
39
40 void ndr_print_struct(struct ndr_print *print, const char *name, const char *type)
41 {
42         /*TODO*/
43 }
44
45 void ndr_print_union(struct ndr_print *print, const char *name,
46                      int32_t level, const char *type)
47 {
48         /*TODO*/
49 }
50
51 void ndr_print_bad_level(struct ndr_print *print, const char *name, uint32_t level)
52 {
53         /*TODO*/
54 }
55
56 void ndr_print_string_helper(struct ndr_print *print, const char *format, ...) _PRINTF_ATTRIBUTE(2,3)
57 {
58         /*TODO*/
59 }
60
61 char *ndr_print_function_string(TALLOC_CTX *mem_ctx,
62                                 ndr_print_function_t fn, const char *name,
63                                 uint32_t flags, const void *ptr)
64 {
65         /*TODO*/
66         return NULL;
67 }