Files
ModManager/src/archives.h
T
Marc b8affcadbc New naming conventions to avoid conflicts.
i don't know if it was such a great idea but at least it is a starting point.
2022-10-09 15:46:58 +02:00

31 lines
666 B
C

#ifndef __ARCHIVES_H__
#define __ARCHIVES_H__
//all of these function will make every file into lowercase
/**
* @brief Execute the unzip command
* @param path path to archive
* @param outdir output director
* @return int return code
*/
int archive_unzip(char * path, char * outdir);
/**
* @brief Execute the unrar command
* @param path path to archive
* @param outdir output director
* @return int return code
*/
int archive_unrar(char * path, char * outdir);
/**
* @brief Execute the 7z command
* @param path path to archive
* @param outdir output director
* @return int return code
*/
int archive_un7z(char * path, const char * outdir);
#endif