mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[ADD/WIP] Begin XMPPwerk
The fuck is a stanza? Presence? Why did Prosody not tell me I'm an idiot when I clearly made a MALFORMED XML document? This and much more, in the next commit!
This commit is contained in:
parent
f7eace20c7
commit
868f0e4d9c
7 changed files with 207 additions and 11 deletions
|
|
@ -10,8 +10,8 @@ typedef struct XMLEvent {
|
|||
enum {
|
||||
XML_LEXER_UNKNOWN = 0,
|
||||
XML_LEXER_STARTELEM,
|
||||
XML_LEXER_ELEM, /* Empty attr */
|
||||
XML_LEXER_DATA,
|
||||
XML_LEXER_ELEM, /* Empty attr */
|
||||
XML_LEXER_ENDELEM,
|
||||
|
||||
XML_RELAX
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ extern Stream * XMPPInitialiseCompStream(char *host, int port);
|
|||
/* Authenticates a component stream with a given shared secret,
|
||||
* with a stream ID from the server. This should be called right
|
||||
* after XMPPInitialiseCompStream. */
|
||||
extern bool XMPPAuthenticateCompStream(Stream *stream, char *shared);
|
||||
extern bool XMPPAuthenticateCompStream(Stream *stream, char *as, char *shared);
|
||||
|
||||
/* TODO: XMPP stuff, I don't fucking know, I'm not a Jabbernerd. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue