Merge branch 'pt-tls'

This commit is contained in:
Martin Willi
2013-02-14 17:06:07 +01:00
20 changed files with 1414 additions and 95 deletions
+5
View File
@@ -190,6 +190,11 @@ static inline void chunk_clear(chunk_t *chunk)
*/
#define chunk_from_thing(thing) chunk_create((char*)&(thing), sizeof(thing))
/**
* Initialize a chunk from a static string, not containing 0-terminator
*/
#define chunk_from_str(str) chunk_create(str, strlen(str))
/**
* Allocate a chunk on the heap
*/