X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/50722269b6e7b1ce8601ee2fc8d30100e5639d34..d5d42c0a4bb26d573e04c0c6466db1ea2d6202b4:/include/proxmark3.h?ds=sidebyside diff --git a/include/proxmark3.h b/include/proxmark3.h index 2f3b4838..7095fc85 100644 --- a/include/proxmark3.h +++ b/include/proxmark3.h @@ -60,4 +60,14 @@ void UsbStart(void); // if data are available. void UsbPacketReceived(BYTE *packet, int len); +#define VERSION_INFORMATION_MAGIC 0x56334d50 +struct version_information { + int magic; /* Magic sequence to identify this as a correct version information structure. Must be VERSION_INFORMATION_MAGIC */ + char versionversion; /* Must be 1 */ + char present; /* 1 if the version information could be created at compile time, otherwise 0 and the remaining fields (except for magic) are empty */ + char clean; /* 1: Tree was clean, no local changes. 0: Tree was unclean. 2: Couldn't be determined */ + char svnversion[9]; /* String with the SVN revision */ + char buildtime[30]; /* string with the build time */ +} __attribute__((packed)); + #endif