mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 18:25:10 +00:00
[MOD] Cache disco
This commit is contained in:
parent
063314b081
commit
9d9453f96a
7 changed files with 44 additions and 25 deletions
|
|
@ -5,6 +5,7 @@
|
|||
* <p>TODO: Consider separating some declarations here...</p>
|
||||
* --------
|
||||
* Writren-By: LDA */
|
||||
typedef struct ParseeData ParseeData;
|
||||
|
||||
#include <Cytoplasm/HttpServer.h>
|
||||
#include <Cytoplasm/HttpRouter.h>
|
||||
|
|
|
|||
|
|
@ -102,7 +102,13 @@ extern void XMPPAnnotatePresence(XMLElement *presence);
|
|||
|
||||
extern bool XMPPHasError(XMLElement *stanza, char *type);
|
||||
|
||||
extern XMLElement * XMPPSendDisco(XMPPComponent *jabber, char *from, char *to);
|
||||
#include <Parsee.h>
|
||||
/** Sends a XMPP discovery request to an entity, and caches it if possible.
|
||||
* ------------------------------------------------------------------------
|
||||
* Returns: a valid XML element[HEAP]
|
||||
* Modifies: the {data}'s cache
|
||||
* Thrasher: XMLFreeElement */
|
||||
extern XMLElement * XMPPSendDisco(ParseeData *data, char *from, char *to);
|
||||
|
||||
extern bool XMPPDiscoAdvertises(XMLElement *disco, char *var);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue