test: The CGI script showing POST DATA sent to it.
[elinks.git] / src / bfu / common.h
blob18d6332a45420d8b0478bec17ae76c00e93adb16
1 #ifndef EL__BFU_COMMON_H
2 #define EL__BFU_COMMON_H
4 struct dialog_data;
5 struct widget_data;
7 /* Event handlers return this values */
8 typedef enum {
9 EVENT_PROCESSED = 0,
10 EVENT_NOT_PROCESSED = 1
11 } widget_handler_status_T;
13 /* Handler type for widgets. */
14 typedef widget_handler_status_T (widget_handler_T)(struct dialog_data *, struct widget_data *);
16 /* Type of widgets. */
17 enum widget_type {
18 WIDGET_CHECKBOX,
19 WIDGET_FIELD,
20 WIDGET_FIELD_PASS,
21 WIDGET_BUTTON,
22 WIDGET_LISTBOX,
23 WIDGET_TEXT,
27 #endif /* EL__BFU_COMMON_H */