Changed framing between backend and frontend to RFC6242 "chunked-encoding"

This commit is contained in:
Olof hagsand 2023-04-27 11:31:18 +02:00
parent 9f73014500
commit db11b5ef99
5 changed files with 227 additions and 16 deletions

View file

@ -80,6 +80,11 @@ int clicon_msg_send(int s, const char *descr, struct clicon_msg *msg);
int clicon_msg_send1(int s, const char *descr, cbuf *cb);
#ifdef NETCONF_INPUT_UNIFIED_INTERNAL
int clixon_msg_send2(int s, const char *descr, cbuf *cb);
int clixon_msg_rcv2(int s, const char *descr, cbuf **cb, int *eof);
#endif
int clicon_msg_rcv(int s, const char *descr, int intr, struct clicon_msg **msg, int *eof);
int clicon_msg_rcv1(int s, const char *descr, cbuf *cb, int *eof);