#ifndef OSCAM_FILES_H_
#define OSCAM_FILES_H_

char *get_tmp_dir(void);
char *get_tmp_dir_filename(char *dest, size_t destlen, const char *filename);
bool file_exists(const char *filename);
char *find_in_path(const char *filename);
int32_t file_copy(char *srcfile, char *destfile);
int32_t safe_overwrite_with_bak(char *destfile, char *temp_file, char *bakfile, int32_t forceBakOverWrite);
#ifdef MODULE_GBOX
char *get_gbox_filename(char *dest, size_t destlen, const char *filename);
#endif

#endif
