diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/types.h | 1 | ||||
-rw-r--r-- | include/urweb.h | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/types.h b/include/types.h index 71a5ee0f..ddf17552 100644 --- a/include/types.h +++ b/include/types.h @@ -35,6 +35,7 @@ typedef struct uw_Basis_file { typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY, RETURN_BLOB } failure_kind; +typedef struct input *uw_input; #define INTS_MAX 50 #define FLOATS_MAX 100 diff --git a/include/urweb.h b/include/urweb.h index 51ab9149..c5381fa8 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -41,11 +41,13 @@ void uw_memstats(uw_context); int uw_send(uw_context, int sock); void uw_set_input(uw_context, const char *name, char *value); +void uw_set_file_input(uw_context, char *name, uw_Basis_file); + char *uw_get_input(uw_context, int name); char *uw_get_optional_input(uw_context, int name); - -void uw_set_file_input(uw_context, char *name, uw_Basis_file); uw_Basis_file uw_get_file_input(uw_context, int name); +void uw_enter_subform(uw_context, int name); +void uw_leave_subform(uw_context); void uw_write(uw_context, const char*); |