summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_rap.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-30 01:11:44 +0200
committerGünther Deschner <gd@samba.org>2010-04-30 01:27:59 +0200
commit6a13c028a94772b66788f2a213e8c09707ee6596 (patch)
treebcae7c8b63f4c04af3f8254fae36a301b79e0e84 /librpc/ndr/ndr_rap.c
parent16e2185731afe482b3f12427253101efd3ad36c5 (diff)
downloadsamba-6a13c028a94772b66788f2a213e8c09707ee6596.tar.gz
samba-6a13c028a94772b66788f2a213e8c09707ee6596.tar.bz2
samba-6a13c028a94772b66788f2a213e8c09707ee6596.zip
rap: let the rap print function be autogenerated again.
Guenther
Diffstat (limited to 'librpc/ndr/ndr_rap.c')
-rw-r--r--librpc/ndr/ndr_rap.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/librpc/ndr/ndr_rap.c b/librpc/ndr/ndr_rap.c
index a7bfb9f750..f21e3675b6 100644
--- a/librpc/ndr/ndr_rap.c
+++ b/librpc/ndr/ndr_rap.c
@@ -22,43 +22,3 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_rap.h"
-_PUBLIC_ void ndr_print_rap_NetPrintQEnum(struct ndr_print *ndr, const char *name, int flags, const struct rap_NetPrintQEnum *r)
-{
- uint32_t cntr_info_1;
- ndr_print_struct(ndr, name, "rap_NetPrintQEnum");
- ndr->depth++;
- if (flags & NDR_SET_VALUES) {
- ndr->flags |= LIBNDR_PRINT_SET_VALUES;
- }
- if (flags & NDR_IN) {
- ndr_print_struct(ndr, "in", "rap_NetPrintQEnum");
- ndr->depth++;
- ndr_print_uint16(ndr, "level", r->in.level);
- ndr_print_uint16(ndr, "bufsize", r->in.bufsize);
- ndr->depth--;
- }
- if (flags & NDR_OUT) {
- ndr_print_struct(ndr, "out", "rap_NetPrintQEnum");
- ndr->depth++;
- ndr_print_WERROR(ndr, "status", W_ERROR(r->out.status));
- ndr_print_uint16(ndr, "convert", r->out.convert);
- ndr_print_uint16(ndr, "count", r->out.count);
- ndr_print_uint16(ndr, "available", r->out.available);
- ndr_print_ptr(ndr, "info", r->out.info);
- ndr->depth++;
- ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)r->out.count);
- ndr->depth++;
- for (cntr_info_1=0;cntr_info_1<r->out.count;cntr_info_1++) {
- char *idx_1=NULL;
- if (asprintf(&idx_1, "[%d]", cntr_info_1) != -1) {
- ndr_print_set_switch_value(ndr, &r->out.info[cntr_info_1], r->in.level);
- ndr_print_rap_printq_info(ndr, "info", &r->out.info[cntr_info_1]);
- free(idx_1);
- }
- }
- ndr->depth--;
- ndr->depth--;
- ndr->depth--;
- }
- ndr->depth--;
-}