mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-14 00:45:10 +00:00
[MOD/ADD] Start element/XMPPwerk
XML gave me an aneurysm. I hate this.
This commit is contained in:
parent
79217d3608
commit
138932d637
4 changed files with 204 additions and 0 deletions
37
src/XMPP/Component.c
Normal file
37
src/XMPP/Component.c
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#include <XMPP.h>
|
||||
|
||||
#include <XML.h>
|
||||
|
||||
/* TODO: Write the stream system once we have our XML implementation
|
||||
* checked out.
|
||||
*
|
||||
* Did I mention I _hate_ writing XML SAX parsers? Oh, well, they're
|
||||
* easier than making a DOM directly, so eeh. */
|
||||
|
||||
/* The default component port Prosody uses. */
|
||||
#define DEFAULT_PROSODY_PORT 5347
|
||||
|
||||
Stream *
|
||||
XMPPInitialiseCompStream(char *host, int port)
|
||||
{
|
||||
/* TODO */
|
||||
(void) host;
|
||||
(void) port;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool
|
||||
XMPPAuthenticateCompStream(Stream *stream, char *shared)
|
||||
{
|
||||
/* TODO */
|
||||
(void) stream;
|
||||
(void) shared;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
XMPPEndCompStream(Stream *stream)
|
||||
{
|
||||
(void) stream;
|
||||
return NULL;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue