X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2b61c242127b54c6f8a92bf6991cdf9bd9aa27af..a8cd503dd5b68ab727fc9ed68f11d68bc6d7b41a:/client/loclass/fileutils.h?ds=sidebyside diff --git a/client/loclass/fileutils.h b/client/loclass/fileutils.h index cfe65187..f18472ab 100644 --- a/client/loclass/fileutils.h +++ b/client/loclass/fileutils.h @@ -38,6 +38,9 @@ #ifndef FILEUTILS_H #define FILEUTILS_H + +#ifndef ON_DEVICE + /** * @brief Utility function to save data to a file. This method takes a preferred name, but if that * file already exists, it tries with another name until it finds something suitable. @@ -58,7 +61,8 @@ int saveFile(const char *preferredName, const char *suffix, const void* data, si * @return */ -int loadFile(const char *fileName, void* data, size_t datalen); +int fileExists(const char *filename); +#endif //ON_DEVICE /** * Utility function to print to console. This is used consistently within the library instead @@ -68,5 +72,4 @@ int loadFile(const char *fileName, void* data, size_t datalen); * @param fmt */ void prnlog(char *fmt, ...); -int fileExists(const char *filename); #endif // FILEUTILS_H