MCPcopy Create free account
hub / github.com/Entware/Entware / conf_write_heading

Function conf_write_heading

scripts/config/confdata.c:633–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631};
632
633static void conf_write_heading(FILE *fp, const struct comment_style *cs)
634{
635 if (!cs)
636 return;
637
638 fprintf(fp, "%s\n", cs->prefix);
639
640 fprintf(fp, "%s Automatically generated file; DO NOT EDIT.\n",
641 cs->decoration);
642
643 fprintf(fp, "%s %s\n", cs->decoration, rootmenu.prompt->text);
644
645 fprintf(fp, "%s\n", cs->postfix);
646}
647
648/* The returned pointer must be freed on the caller side */
649static char *escape_string_value(const char *in)

Callers 2

conf_writeFunction · 0.85
__conf_write_autoconfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected