[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:
LDA 2024-07-06 02:55:11 +02:00
commit 3eae6c15ed
5 changed files with 24 additions and 62 deletions

View file

@ -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;