unbundle = talloc_strdup(ctx, "cdump_unbundle");
size = talloc_strdup(ctx, "sizeof(");
for (i = 0; i < typelen; i++) {
+ /* Const is irrelevant for bundling. */
+ if (streq(type[i], "const"))
+ continue;
bundle = talloc_asprintf_append(bundle, "_%s", type[i]);
unbundle = talloc_asprintf_append(unbundle, "_%s", type[i]);
size = talloc_asprintf_append(size, "%s ", type[i]);
typelen = i - 1;
}
}
+ if (streq(tok[i], "CDUMP_IGNORE"))
+ goto skip;
}
i = typelen;
i++;
} while (tok[i] && !streq(tok[i], ";") && !strstarts(tok[i], "CDUMP_"));
+skip:
while (tok[i] && !streq(tok[i], ";"))
i++;