aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.c
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-07-21 20:13:27 +1000
committerDavid Timber <mieabby@gmail.com>2021-07-21 20:40:53 +1000
commita0b92490365dc88d50c81780ff9ebb6ddb681e5e (patch)
treeeee136970e08263e1a5c4fc3288aa7f746111d97 /src/protocol.c
parent70b0ff657ab111b1718c159bdc6e1583330f9823 (diff)
Impl proone-htbtclient upbin, bug fixes ...
* Add prne_start_bin_rcb_compat() * PRNE_HTBT_OP_NY_BIN -> PRNE_HTBT_OP_UP_BIN. "nybin" is now the name of the file format * htbt * Fix broken hover redirection (HTBT_LMK_HOVER removed) * HTBT_MAIN_REQ_Q_SIZE * Impl PRNE_HTBT_OP_NOOP response * Fix PRNE_HTBT_OP_SOLICIT is always sent with id 1 * proone * Fix bugs caused by not scrubbing the shared global memory * Fix exec() fail when upbin request with args * Removed do_recombination() as it's not efficient. Now the authoritive end has to do the recombination * PRNE_HTBT_OP_RCB, PRNE_HTBT_STATUS_SUB reserved for future impl
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol.c b/src/protocol.c
index cc1fc0d..143e906 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -120,11 +120,10 @@ const char *prne_htbt_op_tostr (const prne_htbt_op_t x) {
case PRNE_HTBT_OP_HOVER: return "hover";
case PRNE_HTBT_OP_SOLICIT: return "solicit";
case PRNE_HTBT_OP_RUN_CMD: return "runcmd";
- case PRNE_HTBT_OP_NY_BIN: return "nybin";
+ case PRNE_HTBT_OP_UP_BIN: return "upbin";
case PRNE_HTBT_OP_RUN_BIN: return "runbin";
case PRNE_HTBT_OP_STDIO: return "stdio";
- case PRNE_HTBT_OP_GET_BIN: return "getbin";
- case PRNE_HTBT_OP_BIN: return "bin";
+ case PRNE_HTBT_OP_RCB: return "rcb";
}
return NULL;
}