mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:05:10 +00:00
[ADD/WIP] Timeouts in stanza awaiting
Querying for a MUC will not take longer than 10 seconds, now.
This commit is contained in:
parent
e4c6994f61
commit
d449c8097e
4 changed files with 52 additions and 12 deletions
|
|
@ -46,12 +46,18 @@ typedef struct MUCInfo {
|
|||
XMLElement *iq_reply;
|
||||
} MUCInfo;
|
||||
|
||||
/* Queries a MUC's existence, and if $[out] is set, stores information
|
||||
* pertaining the MUC itself from an <iq> query, to be freed by
|
||||
* XMPPFreeMUCInfo */
|
||||
/** Queries a MUC's existence, and if {out} is set, stores information
|
||||
* pertaining the MUC itself from an IQ query.
|
||||
* ----------------------------------------------------------------------
|
||||
* Modifies: *out[TBFB:XMPPFreeMUCInfo]
|
||||
* See-Also: XMPPGetMUCName, XMPPFreeMUCInfo */
|
||||
extern bool XMPPQueryMUC(XMPPComponent *jabber, char *muc, MUCInfo *out);
|
||||
|
||||
/* Retrieves the MUC's name from an IQ reply */
|
||||
/** Retrieves the MUC's name from an IQ reply
|
||||
* ----------------------------------------------------------------------
|
||||
* Returns: The MUC's name[LA:HEAP] | NULL
|
||||
* Modifies: NOTHING
|
||||
* See-Also: XMPPQueryMUC, XMPPFreeMUCInfo */
|
||||
extern char * XMPPGetMUCName(MUCInfo info);
|
||||
|
||||
extern void XMPPFreeMUCInfo(MUCInfo info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue