Initial commit of an experimental COAP/HTTP/REST implementation for Contiki
This commit is contained in:
parent
932fed8cc7
commit
e441bd4321
19 changed files with 2311 additions and 0 deletions
14
apps/rest-common/rest-util.h
Normal file
14
apps/rest-common/rest-util.h
Normal 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_ */
|
Loading…
Add table
Add a link
Reference in a new issue