diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 20:07:10 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 20:07:10 -0400 |
commit | 811a3831805bf7a87ed3a64156f4ac6f6246edb9 (patch) | |
tree | a2bc2022ac4e0412a787a526135aafc99db66998 /include | |
parent | 97cc749872a8baf53bb34ef1b536b82f6aa7f1c7 (diff) |
Passing an argument to a web function
Diffstat (limited to 'include')
-rw-r--r-- | include/lacweb.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/lacweb.h b/include/lacweb.h index 891b059d..e84e6bcd 100644 --- a/include/lacweb.h +++ b/include/lacweb.h @@ -12,6 +12,7 @@ int lw_send(lw_context, int sock); void lw_write(lw_context, const char*); + char *lw_Basis_attrifyInt(lw_Basis_int); char *lw_Basis_attrifyFloat(lw_Basis_float); char *lw_Basis_attrifyString(lw_Basis_string); @@ -19,3 +20,16 @@ char *lw_Basis_attrifyString(lw_Basis_string); void lw_Basis_attrifyInt_w(lw_context, lw_Basis_int); void lw_Basis_attrifyFloat_w(lw_context, lw_Basis_float); void lw_Basis_attrifyString_w(lw_context, lw_Basis_string); + + +char *lw_Basis_urlifyInt(lw_Basis_int); +char *lw_Basis_urlifyFloat(lw_Basis_float); +char *lw_Basis_urlifyString(lw_Basis_string); + +void lw_Basis_urlifyInt_w(lw_context, lw_Basis_int); +void lw_Basis_urlifyFloat_w(lw_context, lw_Basis_float); +void lw_Basis_urlifyString_w(lw_context, lw_Basis_string); + +lw_Basis_int lw_unurlifyInt(char **); +lw_Basis_float lw_unurlifyFloat(char **); +lw_Basis_string lw_unurlifyString(char **); |