summaryrefslogtreecommitdiff
path: root/toxcore/onion_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/onion_client.h')
-rw-r--r--toxcore/onion_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/onion_client.h b/toxcore/onion_client.h
index 56adc9ee..afc29f77 100644
--- a/toxcore/onion_client.h
+++ b/toxcore/onion_client.h
@@ -36,6 +36,9 @@ typedef struct {
36 uint8_t client_id[CLIENT_ID_SIZE]; 36 uint8_t client_id[CLIENT_ID_SIZE];
37 IP_Port ip_port; 37 IP_Port ip_port;
38 uint8_t ping_id[ONION_PING_ID_SIZE]; 38 uint8_t ping_id[ONION_PING_ID_SIZE];
39 uint8_t data_public_key[crypto_box_PUBLICKEYBYTES];
40 uint8_t is_stored;
41
39 uint64_t timestamp; 42 uint64_t timestamp;
40 43
41 uint64_t last_pinged; 44 uint64_t last_pinged;
@@ -70,6 +73,8 @@ typedef struct {
70 uint8_t secret_symmetric_key[crypto_secretbox_KEYBYTES]; 73 uint8_t secret_symmetric_key[crypto_secretbox_KEYBYTES];
71 uint64_t last_run; 74 uint64_t last_run;
72 75
76 uint8_t temp_public_key[crypto_box_PUBLICKEYBYTES];
77 uint8_t temp_secret_key[crypto_box_SECRETKEYBYTES];
73 struct { 78 struct {
74 oniondata_handler_callback function; 79 oniondata_handler_callback function;
75 void *object; 80 void *object;