]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/flash.h
f8ffd221ae1ef793bc6ef7ad69212c04f5f13dee
   1 //----------------------------------------------------------------------------- 
   2 // This code is licensed to you under the terms of the GNU GPL, version 2 or, 
   3 // at your option, any later version. See the LICENSE.txt file for the text of 
   5 //----------------------------------------------------------------------------- 
   6 // Flashing utility functions 
   7 //----------------------------------------------------------------------------- 
  26         flash_seg_t 
*segments
; 
  29 int flash_load(flash_file_t 
*ctx
, const char *name
, int can_write_bl
); 
  30 int flash_start_flashing(int enable_bl_writes
, char *serial_port_name
); 
  31 int flash_write(flash_file_t 
*ctx
); 
  32 void flash_free(flash_file_t 
*ctx
); 
  33 int flash_stop_flashing(void); 
  34 void CloseProxmark(const char *serial_port_name
); 
  35 bool OpenProxmark(size_t i
, const char *serial_port_name
); 
  37 extern serial_port sp
;