aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-07-14 11:06:56 +1000
committerDavid Timber <mieabby@gmail.com>2021-07-14 11:06:56 +1000
commit5c70a63e02ae26bdfae14444d91f5f96bf74f505 (patch)
tree53fc063013b915ae0cec032d50e038ea11b2c3fd /src/protocol.h
parent035df3be909e1c2509814f870c2d10edfa23576d (diff)
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()
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h3
1 files changed, 2 insertions, 1 deletions
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);