]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/fileutils.h
Merge branch 'master' of https://github.com/Proxmark/proxmark3
[proxmark3-svn] / client / loclass / fileutils.h
index 02cfcef92d884c0c74284027ea25277cb8a569b0..f18472ab4e73b07f026918c21be2ba07000cb87d 100644 (file)
@@ -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,13 +61,14 @@ 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
  * of printf, but it actually only calls printf. The reason to have this method is to
  *make it simple to plug this library into proxmark, which has this function already to
- * write also to a logfile. When doing so, just delete this function.
+ * write also to a logfile. When doing so, just point this function to use PrintAndLog
  * @param fmt
  */
 void prnlog(char *fmt, ...);
Impressum, Datenschutz