Revert "Comms refactor (prerequisite of libproxmark work) (#371)" (#450)

This reverts commit afdcb8c159.
This commit is contained in:
pwpiwi 2017-10-27 09:56:46 +02:00 committed by GitHub
commit 3851172d81
19 changed files with 334 additions and 540 deletions

View file

@ -11,7 +11,6 @@
#include <stdint.h>
#include "elf.h"
#include "comms.h"
typedef struct {
void *data;
@ -27,12 +26,10 @@ typedef struct {
} flash_file_t;
int flash_load(flash_file_t *ctx, const char *name, int can_write_bl);
int flash_start_flashing(receiver_arg* conn, int enable_bl_writes, char *serial_port_name);
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(receiver_arg* conn, char* serial_port_name);
bool OpenProxmark(char* serial_port_name);
#endif