_PUBLIC_ void ndr_print_notify_array(struct ndr_print *ndr, const char *name, const struct notify_array *r) { uint32_t cntr_depth_0; ndr_print_struct(ndr, name, "notify_array"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr_print_uint32(ndr, "num_depths", r->num_depths); ndr->print(ndr, "%s: ARRAY(%d)", "depth", (int)r->num_depths); ndr->depth++; for (cntr_depth_0=0;cntr_depth_0<r->num_depths;cntr_depth_0++) { ndr_print_notify_depth(ndr, "depth", &r->depth[cntr_depth_0]); } ndr->depth--; ndr->depth--; }
_PUBLIC_ void ndr_print_notify_array(struct ndr_print *ndr, const char *name, const struct notify_array *r) { uint32_t cntr_depth_0; ndr_print_struct(ndr, name, "notify_array"); ndr->depth++; ndr_print_uint32(ndr, "num_depths", r->num_depths); ndr->print(ndr, "%s: ARRAY(%d)", "depth", (int)r->num_depths); ndr->depth++; for (cntr_depth_0=0;cntr_depth_0<r->num_depths;cntr_depth_0++) { char *idx_0=NULL; if (asprintf(&idx_0, "[%d]", cntr_depth_0) != -1) { ndr_print_notify_depth(ndr, "depth", &r->depth[cntr_depth_0]); free(idx_0); } } ndr->depth--; ndr->depth--; }