mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[MOD] Mess a bit with rich replies, add XEPS-TBD
This should be a nice list of future XEPs to be implemented, so that I can keep track of these without having to keep all of these in my head.
This commit is contained in:
parent
ae740878c8
commit
628a55fbca
6 changed files with 127 additions and 18 deletions
|
|
@ -26,6 +26,9 @@ extern void ASPing(const ParseeConfig *);
|
|||
* as. */
|
||||
extern void ASJoin(const ParseeConfig *, char *, char *);
|
||||
|
||||
/* Finds an event from a room ID and event ID */
|
||||
extern HashMap * ASFind(const ParseeConfig *, char *, char *);
|
||||
|
||||
/* Sends a message event with a specific type and body.
|
||||
* Said body is freed during the function's execution. */
|
||||
extern char * ASSend(const ParseeConfig *, char *, char *, char *, HashMap *);
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@ typedef struct XMLElement {
|
|||
} XMLElement;
|
||||
|
||||
/* Decodes 1 element off a stream. */
|
||||
extern XMLElement * XMLDecode(Stream *stream, bool autofree);
|
||||
extern XMLElement * XMLCDecode(Stream *stream, bool autofree, bool html);
|
||||
#define XMLDecode(stream, autofree) XMLCDecode(stream, autofree, false)
|
||||
|
||||
extern XMLElement * XMLCreateTag(char *name);
|
||||
extern XMLElement * XMLCreateText(char *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue