add -I interval option

-I INTERVAL option inserts sleep for interval (seconds) between
SSH connection attempts (issue #7).
This commit is contained in:
Ryo Nakamura
2023-11-25 15:17:33 +09:00
parent c292ce2b29
commit 0cf3acee20
7 changed files with 89 additions and 32 deletions

View File

@@ -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);