From 5c70a63e02ae26bdfae14444d91f5f96bf74f505 Mon Sep 17 00:00:00 2001 From: David Timber Date: Wed, 14 Jul 2021 11:06:56 +1000 Subject: Impl proone-htbtclient, htbt bugfixes ... * htbt * Fix stdout-stderr round-robin sending algo in htbt_relay_child() * Fix logic error and crash bug in htbt_slv_srv_bin() * Impl proone-htbtclient runcmd command * Change signature of prne_htbt_set_cmd() --- src/protocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/protocol.h') diff --git a/src/protocol.h b/src/protocol.h index ba5bcb6..24f4fa3 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -303,6 +303,7 @@ typedef prne_htbt_ser_rc_t(*prne_htbt_dser_ft)( #define PRNE_HTBT_ARGS_MAX 255 #define PRNE_HTBT_ARG_MEM_MAX 1023 #define PRNE_HTBT_STDIO_LEN_MAX 0x0FFF +#define PRNE_HTBT_BIN_LEN_MAX 0xFFFFFF /* PRNE_HTBT_PROTO_MIN_BUF * @@ -383,7 +384,7 @@ bool prne_htbt_alloc_cmd ( prne_htbt_cmd_t *cmd, const size_t argc, const size_t *args_len); -bool prne_htbt_set_cmd (prne_htbt_cmd_t *cmd, char **const args); +bool prne_htbt_set_cmd (prne_htbt_cmd_t *cmd, const char **args); void prne_htbt_free_cmd (prne_htbt_cmd_t *cmd); bool prne_htbt_eq_cmd (const prne_htbt_cmd_t *a, const prne_htbt_cmd_t *b); -- cgit