This repository has been archived on 2021-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
modetw/src/install.h

32 lines
542 B
C

#ifndef INSTALL_H
#define INSTALL_H
/**
* Installs mod
* @param mod name of mod to be installed
* @return 1 if error
* 0 otherwise
*/
int
install(const char *mod);
/**
* Backup a file, only if the file does not yet have a backup.
* @param file Absolute path to file
* @return 1 if error
* 0 otherwise
*/
int
backup(const char *file);
/**
* Restore a file, only if the file has a backup.
* @param file Absolute path to file
* @return 1 if error
* 0 otherwise
*/
int
restore(const char *file);
#endif