Parsee/src/include/StringStream.h
LDA ff5f085b7f [FIX/MOD] Stanza send function, fix some errors
Negociating stanza sizes seems to be real trouble. Also this code is now
`-fanalyzer'-safe!
Also kills the last GNUMakefile present. It wasn't even used...
2024-10-19 16:58:48 +02:00

14 lines
445 B
C

#ifndef PARSEE_STRSTREAM_H
#define PARSEE_STRSTREAM_H
#include <Cytoplasm/Stream.h>
/* Creates a string stream writer. The referenced buffer must be in the heap,
* or NULL for an empty string. */
extern Stream * StrStreamWriter(char **buffer);
/* Creates a string stream reader. The referenced buffer may be everywhere. */
extern Stream * StrStreamReaderN(char *buffer, int n);
#define StrStreamReader(buf) StrStreamReaderN(buf, 0)
#endif