|
cwist
Modern C web framework with libttak runtime
|
Per-field binding descriptor. More...
#include <bind.h>

Public Attributes | |
| const char * | json_key |
| Source key in JSON/Form payload. | |
| cwist_bind_field_type_t | target_type |
| Destination C type. | |
| size_t | target_offset |
| Byte offset inside the user struct. | |
| size_t | target_size |
| sizeof(destination) for bounds checking. | |
| const cwist_bind_rule_t * | rules |
| Array of rules (NULL-terminated by type == -1). | |
| size_t | rule_count |
| Number of rules (optional, for static arrays). | |
| size_t cwist_bind_field::rule_count |
| const cwist_bind_rule_t* cwist_bind_field::rules |
| size_t cwist_bind_field::target_offset |
| size_t cwist_bind_field::target_size |
sizeof(destination) for bounds checking.
| cwist_bind_field_type_t cwist_bind_field::target_type |