_PUBLIC_ void ndr_print_notify_entry_array(struct ndr_print *ndr, const char *name, const struct notify_entry_array *r) { uint32_t cntr_entries_0; ndr_print_struct(ndr, name, "notify_entry_array"); if (r == NULL) { ndr_print_null(ndr); return; } ndr->depth++; ndr_print_uint32(ndr, "num_entries", r->num_entries); ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->num_entries); ndr->depth++; for (cntr_entries_0=0;cntr_entries_0<r->num_entries;cntr_entries_0++) { ndr_print_notify_entry(ndr, "entries", &r->entries[cntr_entries_0]); } ndr->depth--; ndr->depth--; }
_PUBLIC_ void ndr_print_notify_depth(struct ndr_print *ndr, const char *name, const struct notify_depth *r) { uint32_t cntr_entries_0; ndr_print_struct(ndr, name, "notify_depth"); ndr->depth++; ndr_print_uint32(ndr, "max_mask", r->max_mask); ndr_print_uint32(ndr, "max_mask_subdir", r->max_mask_subdir); ndr_print_uint32(ndr, "num_entries", r->num_entries); ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->num_entries); ndr->depth++; for (cntr_entries_0=0;cntr_entries_0<r->num_entries;cntr_entries_0++) { char *idx_0=NULL; if (asprintf(&idx_0, "[%d]", cntr_entries_0) != -1) { ndr_print_notify_entry(ndr, "entries", &r->entries[cntr_entries_0]); free(idx_0); } } ndr->depth--; ndr->depth--; }