X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/0387cd3393d87edf07cdd37dc942b6e561ce499a..3e4811c8b77f4e3d84ed681f6b49704a18c2b3c4:/client/loclass/fileutils.h?ds=sidebyside diff --git a/client/loclass/fileutils.h b/client/loclass/fileutils.h index 10720f76..f18472ab 100644 --- a/client/loclass/fileutils.h +++ b/client/loclass/fileutils.h @@ -52,6 +52,14 @@ * @return 0 for ok, 1 for failz */ int saveFile(const char *preferredName, const char *suffix, const void* data, size_t datalen); +/** + * @brief Utility function to save load binary data from a a file. This method takes a filename, + * Should only be used for fixed-size binary files + * @param fileName the name of the file + * @param data a buffer to place data in + * @param datalen the length of the data/data. + * @return + */ int fileExists(const char *filename); #endif //ON_DEVICE