osd-contiki/apps/json-resource
Ralf Schlatterbeck c6165a3bcf Refactor GENERIC_RESOURCE macro
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.
2016-02-26 17:13:48 +01:00
..
generic_resource.c Refactor GENERIC_RESOURCE macro 2016-02-26 17:13:48 +01:00
generic_resource.h Refactor GENERIC_RESOURCE macro 2016-02-26 17:13:48 +01:00
Makefile.json-resource Factor resources, fix time 2014-11-19 13:53:12 +01:00