_PUBLIC_ void ndr_print_dssetup_DsRolePrimaryDomInfoBasic(struct ndr_print *ndr, const char *name, const struct dssetup_DsRolePrimaryDomInfoBasic *r) { ndr_print_struct(ndr, name, "dssetup_DsRolePrimaryDomInfoBasic"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr_print_dssetup_DsRole(ndr, "role", r->role); ndr_print_dssetup_DsRoleFlags(ndr, "flags", r->flags); ndr_print_ptr(ndr, "domain", r->domain); ndr->depth++; if (r->domain) { ndr_print_string(ndr, "domain", r->domain); } ndr->depth--; ndr_print_ptr(ndr, "dns_domain", r->dns_domain); ndr->depth++; if (r->dns_domain) { ndr_print_string(ndr, "dns_domain", r->dns_domain); } ndr->depth--; ndr_print_ptr(ndr, "forest", r->forest); ndr->depth++; if (r->forest) { ndr_print_string(ndr, "forest", r->forest); } ndr->depth--; ndr_print_GUID(ndr, "domain_guid", &r->domain_guid); ndr->depth--; }
_PUBLIC_ void ndr_print_policy_handle(struct ndr_print *ndr, const char *name, const struct policy_handle *r) { ndr_print_struct(ndr, name, "policy_handle"); ndr->depth++; ndr_print_uint32(ndr, "handle_type", r->handle_type); ndr_print_GUID(ndr, "uuid", &r->uuid); ndr->depth--; }
_PUBLIC_ void ndr_print_ndr_syntax_id(struct ndr_print *ndr, const char *name, const struct ndr_syntax_id *r) { ndr_print_struct(ndr, name, "ndr_syntax_id"); ndr->depth++; ndr_print_GUID(ndr, "uuid", &r->uuid); ndr_print_uint32(ndr, "if_version", r->if_version); ndr->depth--; }
_PUBLIC_ void ndr_print_frsapi_ForceReplication(struct ndr_print *ndr, const char *name, int flags, const struct frsapi_ForceReplication *r) { ndr_print_struct(ndr, name, "frsapi_ForceReplication"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "frsapi_ForceReplication"); ndr->depth++; ndr_print_ptr(ndr, "replica_set_guid", r->in.replica_set_guid); ndr->depth++; if (r->in.replica_set_guid) { ndr_print_GUID(ndr, "replica_set_guid", r->in.replica_set_guid); } ndr->depth--; ndr_print_ptr(ndr, "connection_guid", r->in.connection_guid); ndr->depth++; if (r->in.connection_guid) { ndr_print_GUID(ndr, "connection_guid", r->in.connection_guid); } ndr->depth--; ndr_print_ptr(ndr, "replica_set_name", r->in.replica_set_name); ndr->depth++; if (r->in.replica_set_name) { ndr_print_string(ndr, "replica_set_name", r->in.replica_set_name); } ndr->depth--; ndr_print_ptr(ndr, "partner_dns_name", r->in.partner_dns_name); ndr->depth++; if (r->in.partner_dns_name) { ndr_print_string(ndr, "partner_dns_name", r->in.partner_dns_name); } ndr->depth--; ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "frsapi_ForceReplication"); ndr->depth++; ndr_print_WERROR(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
_PUBLIC_ void ndr_print_security_ace_object_inherited_type(struct ndr_print *ndr, const char *name, const union security_ace_object_inherited_type *r) { int level; level = ndr_print_get_switch_value(ndr, r); ndr_print_union(ndr, name, level, "security_ace_object_inherited_type"); switch (level) { case SEC_ACE_INHERITED_OBJECT_TYPE_PRESENT: ndr_print_GUID(ndr, "inherited_type", &r->inherited_type); break; default: break; } }
_PUBLIC_ void ndr_print_frsapi_Info(struct ndr_print *ndr, const char *name, const struct frsapi_Info *r) { ndr_print_struct(ndr, name, "frsapi_Info"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr_print_uint32(ndr, "length", r->length); ndr_print_GUID(ndr, "guid", &r->guid); ndr_print_uint32(ndr, "length2", r->length2); ndr_print_uint32(ndr, "unknown1", r->unknown1); ndr_print_frsapi_InfoEnum(ndr, "level", r->level); ndr_print_uint32(ndr, "query_counter", r->query_counter); ndr_print_uint32(ndr, "unknown2", r->unknown2); ndr_print_uint32(ndr, "offset", r->offset); ndr_print_uint32(ndr, "blob_len", r->blob_len); ndr_print_DATA_BLOB(ndr, "blob", r->blob); ndr->depth--; }
_PUBLIC_ void ndr_print_frsapi_IsPathReplicated(struct ndr_print *ndr, const char *name, int flags, const struct frsapi_IsPathReplicated *r) { ndr_print_struct(ndr, name, "frsapi_IsPathReplicated"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "frsapi_IsPathReplicated"); ndr->depth++; ndr_print_ptr(ndr, "path", r->in.path); ndr->depth++; if (r->in.path) { ndr_print_string(ndr, "path", r->in.path); } ndr->depth--; ndr_print_frsapi_ReplicaSetType(ndr, "replica_set_type", r->in.replica_set_type); ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "frsapi_IsPathReplicated"); ndr->depth++; ndr_print_ptr(ndr, "replicated", r->out.replicated); ndr->depth++; ndr_print_uint32(ndr, "replicated", *r->out.replicated); ndr->depth--; ndr_print_ptr(ndr, "primary", r->out.primary); ndr->depth++; ndr_print_uint32(ndr, "primary", *r->out.primary); ndr->depth--; ndr_print_ptr(ndr, "root", r->out.root); ndr->depth++; ndr_print_uint32(ndr, "root", *r->out.root); ndr->depth--; ndr_print_ptr(ndr, "replica_set_guid", r->out.replica_set_guid); ndr->depth++; ndr_print_GUID(ndr, "replica_set_guid", r->out.replica_set_guid); ndr->depth--; ndr_print_WERROR(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
void ndr_print_drsuapi_DsReplicaObjectListItemEx(struct ndr_print *ndr, const char *name, const struct drsuapi_DsReplicaObjectListItemEx *r) { ndr_print_struct(ndr, name, "drsuapi_DsReplicaObjectListItemEx"); ndr->depth++; ndr_print_ptr(ndr, "next_object", r->next_object); ndr_print_drsuapi_DsReplicaObject(ndr, "object", &r->object); ndr_print_uint32(ndr, "is_nc_prefix", r->is_nc_prefix); ndr_print_ptr(ndr, "parent_object_guid", r->parent_object_guid); ndr->depth++; if (r->parent_object_guid) { ndr_print_GUID(ndr, "parent_object_guid", r->parent_object_guid); } ndr->depth--; ndr_print_ptr(ndr, "meta_data_ctr", r->meta_data_ctr); ndr->depth++; if (r->meta_data_ctr) { ndr_print_drsuapi_DsReplicaMetaDataCtr(ndr, "meta_data_ctr", r->meta_data_ctr); } ndr->depth--; ndr->depth--; if (r->next_object) { ndr_print_drsuapi_DsReplicaObjectListItemEx(ndr, "next_object", r->next_object); } }
_PUBLIC_ void ndr_print_bkrp_BackupKey(struct ndr_print *ndr, const char *name, int flags, const struct bkrp_BackupKey *r) { ndr_print_struct(ndr, name, "bkrp_BackupKey"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { union bkrp_data_in_blob inblob; DATA_BLOB blob; uint32_t level; enum ndr_err_code ndr_err; ndr_print_struct(ndr, "in", "bkrp_BackupKey"); ndr->depth++; ndr_print_ptr(ndr, "guidActionAgent", r->in.guidActionAgent); ndr->depth++; ndr_print_GUID(ndr, "guidActionAgent", r->in.guidActionAgent); ndr->depth--; level = backupkeyguid_to_uint(r->in.guidActionAgent); blob.data = r->in.data_in; blob.length = r->in.data_in_len; ndr_err = ndr_pull_union_blob(&blob, ndr, &inblob, level, (ndr_pull_flags_fn_t)ndr_pull_bkrp_data_in_blob); ndr_print_ptr(ndr, "data_in", r->in.data_in); ndr->depth++; if (NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { ndr_print_bkrp_data_in_blob(ndr, "data_in", &inblob); } else { ndr_print_array_uint8(ndr, "data_in", r->in.data_in, r->in.data_in_len); } ndr->depth--; ndr_print_uint32(ndr, "data_in_len", r->in.data_in_len); ndr_print_uint32(ndr, "param", r->in.param); ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "bkrp_BackupKey"); ndr->depth++; ndr_print_ptr(ndr, "data_out", r->out.data_out); ndr->depth++; ndr_print_ptr(ndr, "data_out", *r->out.data_out); ndr->depth++; if (*r->out.data_out) { ndr_print_array_uint8(ndr, "data_out", *r->out.data_out, *r->out.data_out_len); } ndr->depth--; ndr->depth--; ndr_print_ptr(ndr, "data_out_len", r->out.data_out_len); ndr->depth++; ndr_print_uint32(ndr, "data_out_len", *r->out.data_out_len); ndr->depth--; ndr_print_WERROR(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }
_PUBLIC_ void ndr_print_RemoteActivation(struct ndr_print *ndr, const char *name, int flags, const struct RemoteActivation *r) { uint32_t cntr_pIIDs_1; uint32_t cntr_protseq_0; uint32_t cntr_ifaces_0; uint32_t cntr_results_0; ndr_print_struct(ndr, name, "RemoteActivation"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; if (flags & NDR_SET_VALUES) { ndr->flags |= LIBNDR_PRINT_SET_VALUES; } if (flags & NDR_IN) { ndr_print_struct(ndr, "in", "RemoteActivation"); ndr->depth++; ndr_print_ORPCTHIS(ndr, "this_object", &r->in.this_object); ndr_print_GUID(ndr, "Clsid", &r->in.Clsid); ndr_print_ptr(ndr, "pwszObjectName", r->in.pwszObjectName); ndr->depth++; ndr_print_string(ndr, "pwszObjectName", r->in.pwszObjectName); ndr->depth--; ndr_print_ptr(ndr, "pObjectStorage", r->in.pObjectStorage); ndr->depth++; ndr_print_MInterfacePointer(ndr, "pObjectStorage", r->in.pObjectStorage); ndr->depth--; ndr_print_uint32(ndr, "ClientImpLevel", r->in.ClientImpLevel); ndr_print_uint32(ndr, "Mode", r->in.Mode); ndr_print_uint32(ndr, "Interfaces", r->in.Interfaces); ndr_print_ptr(ndr, "pIIDs", r->in.pIIDs); ndr->depth++; ndr->print(ndr, "%s: ARRAY(%d)", "pIIDs", (int)r->in.Interfaces); ndr->depth++; for (cntr_pIIDs_1=0;cntr_pIIDs_1<r->in.Interfaces;cntr_pIIDs_1++) { ndr_print_GUID(ndr, "pIIDs", &r->in.pIIDs[cntr_pIIDs_1]); } ndr->depth--; ndr->depth--; ndr_print_uint16(ndr, "num_protseqs", r->in.num_protseqs); ndr->print(ndr, "%s: ARRAY(%d)", "protseq", (int)r->in.num_protseqs); ndr->depth++; for (cntr_protseq_0=0;cntr_protseq_0<r->in.num_protseqs;cntr_protseq_0++) { ndr_print_uint16(ndr, "protseq", r->in.protseq[cntr_protseq_0]); } ndr->depth--; ndr->depth--; } if (flags & NDR_OUT) { ndr_print_struct(ndr, "out", "RemoteActivation"); ndr->depth++; ndr_print_ptr(ndr, "that", r->out.that); ndr->depth++; ndr_print_ORPCTHAT(ndr, "that", r->out.that); ndr->depth--; ndr_print_ptr(ndr, "pOxid", r->out.pOxid); ndr->depth++; ndr_print_hyper(ndr, "pOxid", *r->out.pOxid); ndr->depth--; ndr_print_ptr(ndr, "pdsaOxidBindings", r->out.pdsaOxidBindings); ndr->depth++; ndr_print_DUALSTRINGARRAY(ndr, "pdsaOxidBindings", r->out.pdsaOxidBindings); ndr->depth--; ndr_print_ptr(ndr, "ipidRemUnknown", r->out.ipidRemUnknown); ndr->depth++; ndr_print_GUID(ndr, "ipidRemUnknown", r->out.ipidRemUnknown); ndr->depth--; ndr_print_ptr(ndr, "AuthnHint", r->out.AuthnHint); ndr->depth++; ndr_print_uint32(ndr, "AuthnHint", *r->out.AuthnHint); ndr->depth--; ndr_print_ptr(ndr, "ServerVersion", r->out.ServerVersion); ndr->depth++; ndr_print_COMVERSION(ndr, "ServerVersion", r->out.ServerVersion); ndr->depth--; ndr_print_ptr(ndr, "hr", r->out.hr); ndr->depth++; ndr_print_WERROR(ndr, "hr", *r->out.hr); ndr->depth--; ndr->print(ndr, "%s: ARRAY(%d)", "ifaces", (int)r->in.Interfaces); ndr->depth++; for (cntr_ifaces_0=0;cntr_ifaces_0<r->in.Interfaces;cntr_ifaces_0++) { ndr_print_ptr(ndr, "ifaces", r->out.ifaces[cntr_ifaces_0]); ndr->depth++; ndr_print_MInterfacePointer(ndr, "ifaces", r->out.ifaces[cntr_ifaces_0]); ndr->depth--; } ndr->depth--; ndr->print(ndr, "%s: ARRAY(%d)", "results", (int)r->in.Interfaces); ndr->depth++; for (cntr_results_0=0;cntr_results_0<r->in.Interfaces;cntr_results_0++) { ndr_print_WERROR(ndr, "results", r->out.results[cntr_results_0]); } ndr->depth--; ndr_print_WERROR(ndr, "result", r->out.result); ndr->depth--; } ndr->depth--; }