]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/flash.h
Update README.md
[proxmark3-svn] / client / flash.h
index f8ffd221ae1ef793bc6ef7ad69212c04f5f13dee..06c7c96ecfae16b10db7470a7441a9de32eca623 100644 (file)
@@ -10,8 +10,7 @@
 #define __FLASH_H__
 
 #include <stdint.h>
 #define __FLASH_H__
 
 #include <stdint.h>
-#include "elf.h"
-#include "uart.h"
+#include <stdbool.h>
 
 typedef struct {
        void *data;
 
 typedef struct {
        void *data;
@@ -26,14 +25,10 @@ typedef struct {
        flash_seg_t *segments;
 } flash_file_t;
 
        flash_seg_t *segments;
 } flash_file_t;
 
-int flash_load(flash_file_t *ctx, const char *name, int can_write_bl);
+int flash_load(flash_file_t *ctx, const char *name, bool can_write_bl);
 int flash_start_flashing(int enable_bl_writes, char *serial_port_name);
 int flash_write(flash_file_t *ctx);
 void flash_free(flash_file_t *ctx);
 int flash_stop_flashing(void);
 int flash_start_flashing(int enable_bl_writes, char *serial_port_name);
 int flash_write(flash_file_t *ctx);
 void flash_free(flash_file_t *ctx);
 int flash_stop_flashing(void);
-void CloseProxmark(const char *serial_port_name);
-bool OpenProxmark(size_t i, const char *serial_port_name);
-
-extern serial_port sp;
 #endif
 
 #endif
 
Impressum, Datenschutz