c6165a3bcf
Now callback functions get the URI of the request, this allows to use a single resource for multiple different URIs. The is_json flag is now gone for the to-string function, instead the macro has an is_str flag. If set this automagically produces quotes around the string for json output. Now from-string functions can return an error-code, 0 for success, -1 for error. |
||
---|---|---|
.. | ||
generic_resource.c | ||
generic_resource.h | ||
Makefile.json-resource |