diff options
author | defanor <defanor@uberspace.net> | 2020-06-04 19:46:29 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2020-06-04 19:46:29 +0300 |
commit | 53fecaf5a2101b75f0a8dcbca2ac4a8578bd3adf (patch) | |
tree | f3800a59d3e7cbe1f03362572055819bcb01b14a /src/rexmpp.h | |
parent | 9c6b0b4deafdba16f105349243399a6799d646a1 (diff) |
Implement XEP-0199: XMPP Ping
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r-- | src/rexmpp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h index 2660877..9f748cf 100644 --- a/src/rexmpp.h +++ b/src/rexmpp.h @@ -272,6 +272,11 @@ struct rexmpp uint32_t stanzas_in_count; char *stream_id; + /* Server ping configuration and state. */ + int ping_delay; + int ping_requested; + time_t last_network_activity; + /* DNS-related structures. */ ares_channel resolver_channel; struct ares_srv_reply *server_srv; |