diff options
Diffstat (limited to 'helper.c')
-rw-r--r-- | helper.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -111,6 +111,18 @@ void helper_printal(struct AttributeDescriptionList* a) putchar('\n'); } +void helper_printpal(struct PartialAttributeList *pal) +{ + printf("-- PAL --\n"); + while (pal) { + printf("entry ("); + if (pal->type.l && pal->type.s) printf("%.*s", (int)pal->type.l, pal->type.s); + printf("): "); + helper_printal(pal->values); + pal = pal->next; + } +} + static void helper_printfilterInt(struct Filter* f) { if (f == NULL) { |