diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2010-03-12 15:06:19 +0200 |
---|---|---|
committer | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2010-03-24 17:34:38 +0200 |
commit | fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1 (patch) | |
tree | d85d0a362f7697c70c1ec82b9c3c3903b5b1d44b /librpc/ndr/ndr_drsuapi.c | |
parent | 98cbcf809f9a5a5571316a9119c75655924f46f0 (diff) | |
download | samba-fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1.tar.gz samba-fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1.tar.xz samba-fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1.zip |
s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1
Diffstat (limited to 'librpc/ndr/ndr_drsuapi.c')
-rw-r--r-- | librpc/ndr/ndr_drsuapi.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_drsuapi.c b/librpc/ndr/ndr_drsuapi.c index b91d5f7def5..e8240773886 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); + } +} |