summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-03-16 09:25:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:04 -0500
commitd7b5a565efac8bae48acf57e5d7fc53c3173240f (patch)
tree4ec1e114fd41992051e555a1b997b69d506e111a /source4/librpc/ndr
parent1d642039547dfca8edcee69998d9b61655668bcb (diff)
downloadsamba-d7b5a565efac8bae48acf57e5d7fc53c3173240f.tar.gz
samba-d7b5a565efac8bae48acf57e5d7fc53c3173240f.tar.bz2
samba-d7b5a565efac8bae48acf57e5d7fc53c3173240f.zip
r5828: add some idl for DsAddEntry()
metze (This used to be commit 3e6ec811288d74921bf3e393213e75d928156772)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_drsuapi.c21
1 files changed, 16 insertions, 5 deletions
diff --git a/source4/librpc/ndr/ndr_drsuapi.c b/source4/librpc/ndr/ndr_drsuapi.c
index 5a39c9c5e5..9654e63720 100644
--- a/source4/librpc/ndr/ndr_drsuapi.c
+++ b/source4/librpc/ndr/ndr_drsuapi.c
@@ -24,12 +24,23 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
+void ndr_print_drsuapi_DsReplicaObjectListItem(struct ndr_print *ndr, const char *name, struct drsuapi_DsReplicaObjectListItem *r)
+{
+ ndr_print_struct(ndr, name, "drsuapi_DsReplicaObjectListItem");
+ ndr->depth++;
+ ndr_print_ptr(ndr, "next_object", r->next_object);
+ ndr_print_drsuapi_DsReplicaObject(ndr, "object", &r->object);
+ ndr->depth--;
+ if (r->next_object) {
+ ndr_print_drsuapi_DsReplicaObjectListItem(ndr, "next_object", r->next_object);
+ }
+}
-void ndr_print_drsuapi_DsGetNCChangesInfo1(struct ndr_print *ndr, const char *name, struct drsuapi_DsGetNCChangesInfo1 *r)
+void ndr_print_drsuapi_DsReplicaObjectListItemEx(struct ndr_print *ndr, const char *name, struct drsuapi_DsReplicaObjectListItemEx *r)
{
- ndr_print_struct(ndr, name, "drsuapi_DsGetNCChangesInfo1");
+ ndr_print_struct(ndr, name, "drsuapi_DsReplicaObjectListItemEx");
ndr->depth++;
- ndr_print_ptr(ndr, "next", r->next);
+ ndr_print_ptr(ndr, "next_object", r->next_object);
ndr_print_drsuapi_DsReplicaObject(ndr, "object", &r->object);
ndr_print_uint32(ndr, "unknown1", r->unknown1);
ndr_print_ptr(ndr, "guid", r->guid);
@@ -45,7 +56,7 @@ void ndr_print_drsuapi_DsGetNCChangesInfo1(struct ndr_print *ndr, const char *na
}
ndr->depth--;
ndr->depth--;
- if (r->next) {
- ndr_print_drsuapi_DsGetNCChangesInfo1(ndr, "next", r->next);
+ if (r->next_object) {
+ ndr_print_drsuapi_DsReplicaObjectListItemEx(ndr, "next_object", r->next_object);
}
}