checkpoint includes username

This commit is contained in:
Ryo Nakamura
2024-02-20 16:14:26 +09:00
parent 0695c1e2e4
commit fc0ced1828
3 changed files with 20 additions and 10 deletions

View File

@@ -4,8 +4,8 @@
#include <pool.h>
/* checkpoint_save() stores states to a checkponint file (pathname) */
int checkpoint_save(const char *pathname, int dir, char *remote_host, pool *path_pool,
pool *chunk_pool);
int checkpoint_save(const char *pathname, int dir, const char *user, const char *remote,
pool *path_pool, pool *chunk_pool);
/* checkpoint_load_meta() reads a checkpoint file (pathname) and returns
* remote host string to *remote and transfer direction to *dir.