summaryrefslogtreecommitdiff
path: root/src/html.hh
blob: ef1187ff4649a563a236250214c2653792b5303b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * File: html.hh
 *
 * Copyright (C) 2005-2009 Jorge Arellano Cid <jcid@dillo.org>
 * Copyright (C) 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 */

#ifndef __HTML_HH__
#define __HTML_HH__

#include "url.h"               // for DilloUrl

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/* Keep in sync with the length of the Tags array. It is protected by an
 * static assert in html.cc to prevent errors) */
#define HTML_NTAGS 93

/*
 * Exported functions
 */
void a_Html_load_images(void *v_html, DilloUrl *pattern);
void a_Html_form_submit(void *v_html, void *v_form);
void a_Html_form_reset(void *v_html, void *v_form);
void a_Html_form_display_hiddens(void *v_html, void *v_form, bool_t display);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* __HTML_HH__ */