comparison include/urweb.h @ 801:5f49a6b759cb

Fix nasty bugs with longjmp() looping for uw_set_input(); and bad variable indexes for nested JavaScript in jscomp
author Adam Chlipala <adamc@hcoop.net>
date Thu, 14 May 2009 18:13:09 -0400
parents 8ed1261f838c
children 395a5d450cc0
comparison
equal deleted inserted replaced
800:e92cfac1608f 801:5f49a6b759cb
41 void uw_end_region(uw_context); 41 void uw_end_region(uw_context);
42 void uw_memstats(uw_context); 42 void uw_memstats(uw_context);
43 43
44 int uw_send(uw_context, int sock); 44 int uw_send(uw_context, int sock);
45 45
46 void uw_set_input(uw_context, const char *name, char *value); 46 int uw_set_input(uw_context, const char *name, char *value);
47 void uw_set_file_input(uw_context, char *name, uw_Basis_file); 47 int uw_set_file_input(uw_context, char *name, uw_Basis_file);
48 48
49 char *uw_get_input(uw_context, int name); 49 char *uw_get_input(uw_context, int name);
50 char *uw_get_optional_input(uw_context, int name); 50 char *uw_get_optional_input(uw_context, int name);
51 uw_Basis_file uw_get_file_input(uw_context, int name); 51 uw_Basis_file uw_get_file_input(uw_context, int name);
52 void uw_enter_subform(uw_context, int name); 52 void uw_enter_subform(uw_context, int name);