Add a function for recursive directory removal and use that instead of xsystem.
[oweals/opkg-lede.git] / libopkg / file_util.h
index 184e04d5ebe5bfbb067bca165ba33b8c06a34a5b..cfad55155a0e25fd3a90623b2c60056bd7c612ec 100644 (file)
@@ -26,5 +26,6 @@ int file_copy(const char *src, const char *dest);
 int file_mkdir_hier(const char *path, long mode);
 char *file_md5sum_alloc(const char *file_name);
 char *file_sha256sum_alloc(const char *file_name);
+int rm_r(const char *path);
 
 #endif