hprint
hprint(0, "struct %s_options {\n", name);
hprint(1, "%s %s;\n", th->c_type, s);
hprint(0, "};\n");
hprint(0, "int %s(struct %s_options*, int, char **);\n", f, n);
hprint(0, "int %s(void*, int, char **);\n", f);
hprint(0, "#include <stdio.h>\n");
hprint(0, "#include <sl.h>\n");
hprint(0, "\n");
hprint(0, "extern SL_cmd commands[];\n");
hprint(0, "struct %s_options {\n", name);
hprint(1, "%s %s;\n", th->c_type, s);
hprint(0, "};\n");
hprint(0, "int %s(struct %s_options*, int, char **);\n", f, n);
hprint(0, "int %s(void*, int, char **);\n", f);
hprint(0, "#include <stdio.h>\n");
hprint(0, "#include <sl.h>\n");
hprint(0, "\n");
hprint(0, "extern SL_cmd commands[];\n");