summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-05-03 11:58:45 -0400
committerirungentoo <irungentoo@gmail.com>2014-05-03 11:58:45 -0400
commit4dc0af61c6ea5b1581aca0d15cfd9ffc0f525b10 (patch)
treebcb812983340e7d128626805564afe3ef2ed2b79 /toxcore/net_crypto.h
parent20e9d9c079e9b330296625dcfa5bfacd376d9ff0 (diff)
All time in core is now monotonic.
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r--toxcore/net_crypto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h
index 5d4ff35b..0389f283 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -72,7 +72,8 @@ typedef struct {
72 uint32_t temp_packet_num_sent; 72 uint32_t temp_packet_num_sent;
73 73
74 IP_Port ip_port; /* The ip and port to contact this guy directly.*/ 74 IP_Port ip_port; /* The ip and port to contact this guy directly.*/
75 uint64_t direct_lastrecv_time; /* The Time at which we last receive a direct packet. */ 75 uint64_t direct_lastrecv_time; /* The Time at which we last received a direct packet in ms. */
76
76 77
77 int (*connection_status_callback)(void *object, int id, uint8_t status); 78 int (*connection_status_callback)(void *object, int id, uint8_t status);
78 void *connection_status_callback_object; 79 void *connection_status_callback_object;