兰心开源队——openGauss完整评注代码 #42
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue