summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/html.h b/src/html.h
index 6fe35a8..8f5eada 100644
--- a/src/html.h
+++ b/src/html.h
@@ -25,7 +25,7 @@
#include <glib.h>
gchar *
-mq_html_document(const gchar *title, ...);
+mq_html_document(const gchar *title, ...) G_GNUC_NULL_TERMINATED;
#define TEXT_ELEMENT(ELEM) \
gchar * \
@@ -40,19 +40,22 @@ TEXT_ELEMENT(p)
#undef TEXT_ELEMENT
gchar *
-mq_html_container(const gchar *element, ...);
+mq_html_container(const gchar *element, ...) G_GNUC_NULL_TERMINATED;
gchar *
-mq_html_list(const gchar *type, GDestroyNotify destroy, ...);
+mq_html_list(const gchar *type, GDestroyNotify destroy, ...)
+ G_GNUC_NULL_TERMINATED;
gchar *
mq_html_list_v(const gchar *type, gchar **children);
gchar *
-mq_html_notebook(gboolean vertical, const gchar *name, guint current_page, ...);
+mq_html_notebook(gboolean vertical, const gchar *name, guint current_page, ...)
+ G_GNUC_NULL_TERMINATED;
gchar *
-mq_html_form(const gchar *submit_label, const gchar *reset_label, ...);
+mq_html_form(const gchar *submit_label, const gchar *reset_label, ...)
+ G_GNUC_NULL_TERMINATED;
gchar *
mq_html_input_text(const gchar *name, const gchar *label, const gchar *value);
@@ -74,6 +77,7 @@ mq_html_input_checkbox(const gchar *name, const gchar *label, gboolean checked);
gchar *
mq_html_input_select(const gchar *name, const gchar *label,
const gchar *selected,
- GDestroyNotify destroy_value, GDestroyNotify destroy_label, ...);
+ GDestroyNotify destroy_value, GDestroyNotify destroy_label, ...)
+ G_GNUC_NULL_TERMINATED;
#endif