Files
libssh/include/libssh
Anderson Toshiyuki Sasaki c9ce8fa40b misc: Add a function to encode newlines
Given a string, the added function encodes existing newline characters
('\n') as the string "\\n" and puts into a given output buffer.

The output buffer must have at least 2 times the length of the input
string plus 1 for the terminating '\0'. In the worst case, each
character can be replaced by 2 characters.

Fixes T189

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-12-09 16:08:03 +01:00
..
2019-01-24 13:06:33 +01:00
2019-08-08 09:30:03 +02:00
2019-01-24 09:19:59 +01:00
2017-12-28 11:17:39 +01:00
2019-12-09 16:08:03 +01:00
2018-06-28 08:41:08 +02:00
2016-05-02 16:40:43 +02:00
2013-01-23 00:22:46 +01:00
2013-01-23 00:22:46 +01:00