diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-12-10 16:08:42 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-12-10 16:08:42 -0500 |
commit | acbd792900767949c5836e3fc401b134ab93e144 (patch) | |
tree | 92445db3b343d1515646f203427b65c2fcaacbb9 /spm.h | |
parent | aaac7bc7fb88bb21ee46e42bc3b664a1163e0e6f (diff) | |
download | spmc-acbd792900767949c5836e3fc401b134ab93e144.tar.gz |
Fix minor bugs and implement rsync function
Diffstat (limited to 'spm.h')
-rw-r--r-- | spm.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -42,6 +42,8 @@ typedef struct { char *key; char *value; + size_t key_length; + size_t value_length; } ConfigItem; typedef struct { @@ -70,6 +72,7 @@ void shell(Process **proc_info, u_int64_t option, const char *fmt, ...); void shell_free(Process *proc_info); int tar_extract_archive(const char *_archive, const char *_destination); int tar_extract_file(const char *archive, const char* filename, const char *destination); +int rsync(const char *_args, const char *_source, const char *_destination); int errglob(const char *epath, int eerrno); int num_chars(const char *sptr, int ch); |