Add query parameter to generic resouce macros
Modify all callback functions to use new signature. ota-update now uses this to pass the partition to some get/put methods.
This commit is contained in:
parent
954da749eb
commit
e3784fa9c7
20 changed files with 357 additions and 82 deletions
|
@ -5,8 +5,15 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
size_t color_to_string (const char *name, const char *uri, char *buf, size_t bsize);
|
||||
int color_from_string (const char *name, const char *uri, const char *s);
|
||||
size_t color_to_string
|
||||
( const char *name
|
||||
, const char *uri
|
||||
, const char *query
|
||||
, char *buf
|
||||
, size_t bsize
|
||||
);
|
||||
int color_from_string
|
||||
(const char *name, const char *uri, const char *query, const char *s);
|
||||
int color_rgb_from_string (const char *r, const char *g, const char *b);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue