diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-02-20 16:14:26 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-02-20 16:14:26 +0900 |
commit | fc0ced1828f6da5e6664223c660b47f295e459e2 (patch) | |
tree | 2176c77a6b43c8cdb0bd403ae48e2cf89135edec /src/checkpoint.h | |
parent | 0695c1e2e4b417763942c6311033b29922b9c778 (diff) |
checkpoint includes username
Diffstat (limited to 'src/checkpoint.h')
-rw-r--r-- | src/checkpoint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checkpoint.h b/src/checkpoint.h index d0d0948..c20dad1 100644 --- a/src/checkpoint.h +++ b/src/checkpoint.h @@ -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. |