From 4c56214b8c2e130d3709bdca2513aef20b7b0fab Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sat, 9 Mar 2024 17:35:19 +0100 Subject: Use Doxygen comments for C files --- src/form.cc | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'src/form.cc') diff --git a/src/form.cc b/src/form.cc index 61dc01d2..aeaa35bd 100644 --- a/src/form.cc +++ b/src/form.cc @@ -268,7 +268,7 @@ void a_Html_form_display_hiddens2(void *vform, bool display) * Form parsing functions */ -/* +/** * Add an HTML control */ static void Html_add_input(DilloHtml *html, DilloHtmlInputType type, @@ -291,7 +291,7 @@ static void Html_add_input(DilloHtml *html, DilloHtmlInputType type, } } -/* +/** * Find radio input by name */ static DilloHtmlInput *Html_get_radio_input(DilloHtml *html, const char *name) @@ -314,7 +314,7 @@ static DilloHtmlInput *Html_get_radio_input(DilloHtml *html, const char *name) return NULL; } -/* +/** * Get the current input if available. */ static DilloHtmlInput *Html_get_current_input(DilloHtml *html) @@ -330,7 +330,7 @@ static DilloHtmlInput *Html_get_current_input(DilloHtml *html) inputs->get (inputs->size() - 1) : NULL; } -/* +/** * Handle
tag */ void Html_tag_open_form(DilloHtml *html, const char *tag, int tagsize) @@ -405,7 +405,7 @@ void Html_tag_close_form(DilloHtml *html) html->InFlags &= ~IN_TEXTAREA; } -/* +/** * get size, restrict it to reasonable value */ static int Html_input_get_size(DilloHtml *html, const char *attrbuf) @@ -424,7 +424,7 @@ static int Html_input_get_size(DilloHtml *html, const char *attrbuf) return size; } -/* +/** * Add a new input to current form */ void Html_tag_open_input(DilloHtml *html, const char *tag, int tagsize) @@ -580,7 +580,7 @@ void Html_tag_open_input(DilloHtml *html, const char *tag, int tagsize) dFree(value); } -/* +/** * The ISINDEX tag is just a deprecated form of with * implied FORM, afaics. */ @@ -628,8 +628,8 @@ void Html_tag_open_textarea(DilloHtml *html, const char *tag, int tagsize) html->InFlags |= IN_TEXTAREA; } -/* - * The textarea tag +/** + * The textarea tag. */ void Html_tag_content_textarea(DilloHtml *html, const char *tag, int tagsize) { @@ -686,8 +686,8 @@ void Html_tag_content_textarea(DilloHtml *html, const char *tag, int tagsize) dFree(name); } -/* - * Close textarea +/** + * Close textarea. * (TEXTAREA is parsed in VERBATIM mode, and entities are handled here) */ void Html_tag_close_textarea(DilloHtml *html) @@ -966,7 +966,7 @@ void Html_tag_open_button(DilloHtml *html, const char *tag, int tagsize) dFree(type); } -/* +/** * Handle close