diff options
author | Ryo Nakamura <upa@haeena.net> | 2023-11-25 15:17:33 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2023-11-25 15:17:33 +0900 |
commit | 0cf3acee20f9b3f5c5961e754ab33c59b8dd4bb9 (patch) | |
tree | 5c9a7137dfada3a3eb2d0c8d4a06afc6035c7313 /src/path.h | |
parent | c292ce2b29d641f8ab2bca374c0fa2764dbfe5bc (diff) |
add -I interval option
-I INTERVAL option inserts sleep for interval (seconds) between
SSH connection attempts (issue #7).
Diffstat (limited to 'src/path.h')
-rw-r--r-- | src/path.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,6 +62,9 @@ bool chunk_pool_is_filled(struct chunk_pool *cp); /* return number of chunks in the pool */ size_t chunk_pool_size(struct chunk_pool *cp); +/* return true if chunk pool is empty (all chunks are already poped) */ +bool chunk_pool_is_empty(struct chunk_pool *cp); + /* free chunks in the chunk_pool */ void chunk_pool_release(struct chunk_pool *cp); |