#include <form.h>
Data Fields | |
| char * | name |
| Name of the field. | |
| union { | |
| char * data | |
| data.data represents actual form field data. | |
| struct s_form_field ** array | |
| Holds fields array, if there are multiple fields with one name. | |
| } | data |
| Field data union. | |
| long | length |
| Data length (for example for binary fields). | |
| char * | content_type |
| Field content type (for example for files). | |
| char * | file_name |
| The filename for uploaded file. | |
| int | is_file |
| Shows if the field is file. | |
| int | is_array |
| Shows if the field is an array. | |
This structure represents a form field.
| char* s_form_field::name |
Name of the field.
| char* s_form_field::data |
data.data represents actual form field data.
struct s_form_field** s_form_field::array [read] |
Holds fields array, if there are multiple fields with one name.
| union { ... } s_form_field::data |
Field data union.
Field content type (for example for files).
| char* s_form_field::file_name |
The filename for uploaded file.
Shows if the field is file.
Shows if the field is an array.
1.5.5