wip - more reworking on hcl server/client code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-15 02:23:55 +09:00
parent 59dfe8cbb7
commit 003ebb1b94
7 changed files with 263 additions and 91 deletions

View File

@ -31,6 +31,8 @@
enum hcl_xpkt_type_t
{
HCL_XPKT_CODEIN,
HCL_XPKT_EXECUTE,
HCL_XPKT_CODEOUT, /* return value is passed over this? */
HCL_XPKT_STDIN,
HCL_XPKT_STDOUT,
@ -96,7 +98,6 @@ struct hcl_server_prim_t
typedef struct hcl_server_prim_t hcl_server_prim_t;
/* ---------------------------------------------------------------------- */
@ -255,23 +256,6 @@ HCL_EXPORT void hcl_server_freemem (
);
HCL_EXPORT int hcl_server_proto_feed_reply (
hcl_server_proto_t* proto,
const hcl_ooch_t* ptr,
hcl_oow_t len,
int escape
);
HCL_EXPORT int hcl_server_proto_feed_reply_bytes (
hcl_server_proto_t* proto,
const hcl_bch_t* ptr,
hcl_oow_t len
);
HCL_EXPORT int hcl_server_proto_handle_incoming (
hcl_server_proto_t* proto
);
/* ---------------------------------------------------------------------- */
HCL_EXPORT hcl_client_t* hcl_client_open (