Added partial sample program to accept requests over a socket

This commit is contained in:
2018-03-12 10:39:13 +00:00
parent a2d8206c58
commit d51ad1cd6a
8 changed files with 2245 additions and 21 deletions

View File

@ -26,8 +26,6 @@
#include "hcl-prv.h"
#define HCL_BCLEN_MAX 6
/* some naming conventions
* bchars, uchars -> pointer and length
* bcstr, ucstr -> null-terminated string pointer
@ -577,7 +575,7 @@ static HCL_INLINE int ucsn_to_bcsn_with_cmgr (
}
else
{
hcl_bch_t bcsbuf[HCL_BCLEN_MAX];
hcl_bch_t bcsbuf[HCL_BCSIZE_MAX];
hcl_oow_t mlen = 0;
while (p < end)
@ -659,7 +657,7 @@ static int ucs_to_bcs_with_cmgr (
}
else
{
hcl_bch_t bcsbuf[HCL_BCLEN_MAX];
hcl_bch_t bcsbuf[HCL_BCSIZE_MAX];
hcl_oow_t mlen = 0;
while (*p != '\0')