1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

render.h & size_t

This commit is contained in:
psyc://psyced.org/~lynX 2011-04-18 16:54:56 +02:00
parent ef2589ec42
commit 344f327e19
3 changed files with 21 additions and 8 deletions

13
include/psyc/render.h Normal file
View file

@ -0,0 +1,13 @@
int PSYC_renderHeader(struct PSYC_Buffers* pbuf,
const uint8_t* name, const size_t nlength,
const uint8_t* value, const size_t vlength,
const uchar flags, const uchar modifier);
int PSYC_renderBody(struct PSYC_Buffers* pbuf,
const uint8_t* method, const size_t mlength,
const uint8_t* data, const size_t dlength,
const uchar flags);
int PSYC_doneRender(struct PSYC_Buffers* pbuf,
uint8_t** buf, size_t* written);