* Fixed: Yang patterns: \n and other non-printable characters were broken

* Example: Clixon interpereted them two characters: `\\ n` instead of ascii 10
This commit is contained in:
Olof hagsand 2021-08-05 09:59:20 +02:00
parent 603f9724ce
commit dcaeb581a1
5 changed files with 107 additions and 0 deletions

View file

@ -100,6 +100,8 @@ int xml_chardata_encode(char **escp, const char *fmt, ...);
#endif
int xml_chardata_cbuf_append(cbuf *cb, char *str);
int uri_percent_decode(char *enc, char **str);
int nonprint_encode(char *orig, char **encp);
const char *clicon_int2str(const map_str2int *mstab, int i);
int clicon_str2int(const map_str2int *mstab, char *str);
int clicon_str2int_search(const map_str2int *mstab, char *str, int upper);