mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[ADD/WIP] Basic XEP-0393 support.
Still needs lots of work. Did I fail to mention I _hate_ HTML?
This commit is contained in:
parent
94cba7acf0
commit
771c3271ad
10 changed files with 473 additions and 9 deletions
|
|
@ -163,4 +163,8 @@ extern void ParseeCleanup(void *data);
|
|||
|
||||
/* Finds the offset of the first line without a '>' at its start. */
|
||||
extern int ParseeFindDatastart(char *data);
|
||||
|
||||
|
||||
/* XMPP-ifies a message event to XEP-0393 if possible. */
|
||||
extern char * ParseeXMPPify(HashMap *event);
|
||||
#endif
|
||||
|
|
|
|||
13
src/include/StringStream.h
Normal file
13
src/include/StringStream.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#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. */
|
||||
extern Stream * StrStreamWriter(char **buffer);
|
||||
|
||||
/* Creates a string stream reader. The referenced buffer may be everywhere. */
|
||||
extern Stream * StrStreamReader(char *buffer);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue