aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'projects/hsm/mgmt-misc.h')
-rw-r--r--projects/hsm/mgmt-misc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/projects/hsm/mgmt-misc.h b/projects/hsm/mgmt-misc.h
index b7eb4f4..619b94e 100644
--- a/projects/hsm/mgmt-misc.h
+++ b/projects/hsm/mgmt-misc.h
@@ -38,12 +38,7 @@
#include "stm-init.h"
#include <libcli.h>
-
-#define FILETRANSFER_UPLOAD_CHUNK_SIZE 256
-
-typedef int (*cli_data_callback)(uint8_t *, size_t);
-
extern void configure_cli_misc(struct cli_def *cli);
-extern int cli_receive_data(struct cli_def *cli, uint8_t *buf, size_t len, cli_data_callback data_callback);
+extern int cli_receive_data(struct cli_def *cli, uint8_t **filebuf, size_t *file_len, size_t chunksize);
#endif /* __STM32_CLI_MGMT_MISC_H */