mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:05:10 +00:00
[DEL] Remove killstanzas
Shinobis are no longer allowed, we're no longer on the Heian era, and as such, we get rid of weird things like Heian Aliens. In other, more serious news, this should increase reliability, as Parsee now cleans after itself gracefully, instead of just killing off the stream.
This commit is contained in:
parent
95aaa0dbc9
commit
3eae6c15ed
5 changed files with 24 additions and 62 deletions
|
|
@ -31,16 +31,12 @@ extern void XMPPJoinMUC(XMPPComponent *comp, char *fr, char *muc);
|
|||
extern void XMPPSendPlain(XMPPComponent *comp, char *fr, char *to, char *msg, char *type, char *rst, char *rse, char *event_id, char *oob, char *id);
|
||||
extern void XMPPSendPlainID(XMPPComponent *comp, char *fr, char *to, char *msg, char *type, char *rst, char *rse, char *event_id, char *oob, char *id, char *sid);
|
||||
|
||||
/* Closes a raw component stream. */
|
||||
/* Finishes a component stream, and doesn't free it. */
|
||||
extern void XMPPFinishCompStream(XMPPComponent *stream);
|
||||
|
||||
/* Frees a raw component stream. */
|
||||
extern void XMPPEndCompStream(XMPPComponent *stream);
|
||||
|
||||
/* Sends a loopback stanza (a "killstanza"), used to kill an XMPP listener
|
||||
* thread. */
|
||||
extern void XMPPKillThread(XMPPComponent *jabber, char *killer);
|
||||
|
||||
/* Checks if a stanza is a "killstanza". */
|
||||
extern bool XMPPIsKiller(XMLElement *);
|
||||
|
||||
typedef struct MUCInfo {
|
||||
bool exists;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue