diff options
Diffstat (limited to 'src/server/globals.h')
-rw-r--r-- | src/server/globals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/globals.h b/src/server/globals.h index 1243eb8..e44b26d 100644 --- a/src/server/globals.h +++ b/src/server/globals.h @@ -55,6 +55,8 @@ struct _dnbd3_connection uint8_t *recvBuffer; // Buffer for receiving payload int recvBufferLen; // Len of ^^ volatile int shutdown; // bool to signal thread to stop, must only be set from uplink_shutdown() + int replicatedLastBlock; // bool telling if the last block has been replicated yet + time_t lastReplication; // timestamp of when last replication requests were sent }; typedef struct |