兰心开源队——openGauss完整评注代码 #42

Open
zpc_gitlink wants to merge 118 commits from zpc_gitlink/openGauss-server:master into master
1 changed files with 7 additions and 1 deletions
Showing only changes of commit 915b2800cd - Show all commits

View File

@ -34,12 +34,18 @@
/* in archive/archive_am.cpp */
ArchiveConfig *getArchiveConfig();
/*Return to the basic configuration of the Archive table.*/
size_t ArchiveRead(const char* fileName, int offset, char *buffer, int length, ArchiveConfig *archive_config = NULL);
/*Read the contents of the Archive table*/
int ArchiveWrite(const char* fileName, const char *buffer, const int bufferLength,
ArchiveConfig *archive_config = NULL);
/*Write content into the Archive table.*/
int ArchiveDelete(const char* fileName, ArchiveConfig *archive_config = NULL);
/*Delete content into the Archive table.*/
List* ArchiveList(const char* prefix, ArchiveConfig *archive_config = NULL,
bool reportError = true, bool shortenConnTime = false);
/*List all tables in the Archive*/
bool ArchiveFileExist(const char* file_path, ArchiveConfig *archive_config);
/*Judge whether the file exists.*/
#endif /* ARCHIVE_AM_H */