Added some more unimplemented functions

This commit is contained in:
2024-02-15 00:34:48 +01:00
parent 07e04889a5
commit 7d826ccb99
4 changed files with 36 additions and 1 deletions

View File

@@ -26,6 +26,11 @@ bool backing_exists(const char* backing);
/// @return The list of backing disks. The caller is responsible for freeing the returned array and strings. This function can return NULL.
char** list_backings(void);
/// @brief Get the creation time of the specified backing disk.
/// @param backing The valid backing disk name.
/// @return The creation time of the specified backing disk. If the backing disk does not exist, this function returns 0.
uint64_t get_backing_creation_time(const char* backing);
/// @brief Finds the latest backing disk.
/// @return The latest backing disk. The caller is responsible for freeing the returned string. This function can return NULL.
char* find_latest_backing(void);