privacore-open-source-searc.../GbMoveFile2.h
2016-10-24 15:15:35 +02:00

9 lines
262 B
C

#ifndef GB_MOVE_FILE2_H_
#define GB_MOVE_FILE2_H_
//Move/rename a file an a 2-phase commit model
int moveFile2Phase1(const char *src, const char *dst); //link or copy to destination
int moveFile2Phase2(const char *src, const char *dst); //unlink source
#endif