]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/flash.h
Add License/Copyright headers/notices. Please add your own copyright notice if you...
[proxmark3-svn] / client / flash.h
index 8d18cab0491e48d669cef5911cd78f45f2d9271d..f468de35419c0142e68b649f2fe720ea818da136 100644 (file)
@@ -1,8 +1,21 @@
+//-----------------------------------------------------------------------------
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Flashing utility functions
+//-----------------------------------------------------------------------------
+
+#ifndef __FLASH_H__
+#define __FLASH_H__
+
+#include <stdint.h>
+
 struct partition {
-       int start;
-       int end;
-       int precious;
-       const char *name;
+  int start;
+  int end;
+  int precious;
+  const char *name;
 };
 
 void FlushPrevious(int translate);
@@ -13,3 +26,6 @@ int find_next_area(const char *str, int *offset, int *length);
 
 #define PHYSICAL_FLASH_START 0x100000
 void do_flash(char **argv);
+
+#endif
+
Impressum, Datenschutz