mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:55:10 +00:00
[ADD/WIP] Congestion, basic ad-hoc commands
Woah, took me a while, eh? Next up, getting forms!
This commit is contained in:
parent
4007232716
commit
408888ef67
9 changed files with 911 additions and 14 deletions
|
|
@ -123,6 +123,14 @@ extern void * ParseeXMPPThread(void *data);
|
|||
* Modifies: NONE */
|
||||
extern XMLElement * ParseeAwaitStanza(char *identifier, int64_t ts);
|
||||
|
||||
/** Returns the amount of unprocessed stanzas in the XMPP thread, which
|
||||
* can be used by admins to guess load.
|
||||
* --------
|
||||
* UB-If: called in the XMPP dispatcher thread itself
|
||||
* Returns: amount of stanzas in the FIFO
|
||||
* Modifies: NONE */
|
||||
extern size_t ParseeCongestion(void);
|
||||
|
||||
/* Finds the room a DM is associated to, from a Matrix user and a Jabber
|
||||
* ID. */
|
||||
extern char * ParseeFindDMRoom(ParseeData *data, char *mxid, char *jid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue