summaryrefslogtreecommitdiff
path: root/src/rexmpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r--src/rexmpp.h5
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;