25 lines
460 B
C
25 lines
460 B
C
//
|
|
// Created by mingming wanng on 2023/11/2.
|
|
//
|
|
|
|
#ifndef TDENGINE_RSYNC_H
|
|
#define TDENGINE_RSYNC_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "tarray.h"
|
|
|
|
void stopRsync();
|
|
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);
|
|
int32_t deleteRsync(const char* id);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // TDENGINE_RSYNC_H
|