aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-misc.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-07-21 16:32:43 -0400
committerPaul Selkirk <paul@psgd.org>2016-07-21 16:32:43 -0400
commite3fe7d89b6094bfef42f42329e15631f684f0748 (patch)
treedbaca9b4ce50dca6950a658cef99d20d5d7922ae /projects/hsm/mgmt-misc.h
parent91cc61352451093e26605f4a9bbe83798da02fd0 (diff)
Use a fresh port of libcli, which retains more of the original API.
Diffstat (limited to 'projects/hsm/mgmt-misc.h')
-rw-r--r--projects/hsm/mgmt-misc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/projects/hsm/mgmt-misc.h b/projects/hsm/mgmt-misc.h
index b7eb4f4..862ca0c 100644
--- a/projects/hsm/mgmt-misc.h
+++ b/projects/hsm/mgmt-misc.h
@@ -35,15 +35,12 @@
#ifndef __STM32_CLI_MGMT_MISC_H
#define __STM32_CLI_MGMT_MISC_H
-#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 void configure_cli_misc(struct cli_def *cli);
+
#endif /* __STM32_CLI_MGMT_MISC_H */