Initial commit of an experimental COAP/HTTP/REST implementation for Contiki

This commit is contained in:
doganyazar 2010-10-28 12:37:42 +00:00
parent 932fed8cc7
commit e441bd4321
19 changed files with 2311 additions and 0 deletions

View file

@ -0,0 +1,14 @@
/*
* rest-util.h
*
* Created on: Oct 26, 2010
* Author: dogan
*/
#ifndef RESTUTIL_H_
#define RESTUTIL_H_
size_t decode(const char *src, size_t srclen, char *dst, size_t dstlen, int is_form);
int get_variable(const char *name, const char *buffer, size_t buflen, char* output, size_t output_len, int decode_type);
#endif /* RESTUTIL_H_ */