19#ifndef PROTOCORE_SCP_H
20#define PROTOCORE_SCP_H
30#define PC_SCP_ACK_OK 0
31#define PC_SCP_ACK_WARN 1
32#define PC_SCP_ACK_ERROR 2
35enum class ScpMode : uint8_t
47ScpMode pc_scp_parse_cmd(
const char *cmd,
size_t cmd_len,
char *path_out,
size_t path_cap);
54bool pc_scp_parse_cline(
const char *line,
size_t len, uint32_t *mode_out, uint64_t *size_out,
char *name_out,
61size_t pc_scp_build_cline(uint32_t mode, uint64_t size,
const char *name,
char *out,
size_t cap);
User-facing configuration for ProtoCore.