osd-contiki/examples/osd/opentrigger-board/sketch.h
Ralf Schlatterbeck e3784fa9c7 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.
2017-08-20 15:01:30 +02:00

24 lines
424 B
C

#ifndef __SKETCH_h__
#define __SKETCH_h__
#ifdef __cplusplus
extern "C" {
#endif
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
}
#endif
#endif