ext4: add rename/move directory procedure to main API
[lwext4.git] / include / ext4.h
index 78e8647245e8787a02b6760087ae0bb765843005..102802cff705f78f7be5c555ce7e5b4c283b3d4c 100644 (file)
@@ -426,6 +426,12 @@ int ext4_removexattr(const char *path, const char *name, size_t name_len);
  * @return  standard error code*/
 int ext4_dir_rm(const char *path);
 
+/**@brief Rename/move directory
+ * @param path source
+ * @param new_path destination
+ * @return  standard error code */
+int ext4_dir_mv(const char *path, const char *new_path);
+
 /**@brief   Create new directory.
  * @param   name new directory name
  * @return  standard error code*/