TDengine/include/common/rsync.h

25 lines
460 B
C
Raw Normal View History

2023-11-02 12:13:29 +00:00
//
// Created by mingming wanng on 2023/11/2.
//
#ifndef TDENGINE_RSYNC_H
#define TDENGINE_RSYNC_H
#ifdef __cplusplus
extern "C" {
#endif
#include "tarray.h"
2024-05-08 05:52:20 +00:00
void stopRsync();
2024-07-18 08:45:58 +00:00
int32_t startRsync();
int32_t uploadByRsync(const char* id, const char* path, int64_t checkpointId);
int32_t downloadByRsync(const char* id, const char* path, int64_t checkpointId);
2024-05-08 05:52:20 +00:00
int32_t deleteRsync(const char* id);
2023-11-02 12:13:29 +00:00
#ifdef __cplusplus
}
#endif
#endif // TDENGINE_RSYNC_H