summaryrefslogtreecommitdiff
path: root/librpc/ndr
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-12 15:06:19 +0200
committerKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-24 17:34:38 +0200
commitfbaf3b3799f6c177eb7b2210b3417fb13b2b97e1 (patch)
treed85d0a362f7697c70c1ec82b9c3c3903b5b1d44b /librpc/ndr
parent98cbcf809f9a5a5571316a9119c75655924f46f0 (diff)
downloadsamba-fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1.tar.gz
samba-fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1.tar.bz2
samba-fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1.zip
s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1
Diffstat (limited to 'librpc/ndr')
-rw-r--r--librpc/ndr/ndr_drsuapi.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_drsuapi.c b/librpc/ndr/ndr_drsuapi.c
index b91d5f7def..e824077388 100644
--- a/librpc/ndr/ndr_drsuapi.c
+++ b/librpc/ndr/ndr_drsuapi.c
@@ -263,3 +263,14 @@ _PUBLIC_ size_t ndr_size_drsuapi_DsReplicaObjectIdentifier3Binary_without_Binary
return ndr_size_struct((const struct drsuapi_DsReplicaObjectIdentifier3 *)r, flags, (ndr_push_flags_fn_t)ndr_push_drsuapi_DsReplicaObjectIdentifier3, ic);
}
+_PUBLIC_ void ndr_print_drsuapi_DsAddEntry_AttrErrListItem_V1(struct ndr_print *ndr, const char *name, const struct drsuapi_DsAddEntry_AttrErrListItem_V1 *r)
+{
+ ndr_print_struct(ndr, name, "drsuapi_DsAddEntry_AttrErrListItem_V1");
+ ndr->depth++;
+ ndr_print_ptr(ndr, "next", r->next);
+ ndr_print_drsuapi_DsAddEntry_AttrErr_V1(ndr, "err_data", &r->err_data);
+ ndr->depth--;
+ if (r->next) {
+ ndr_print_drsuapi_DsAddEntry_AttrErrListItem_V1(ndr, "next", r->next);
+ }
+}