diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-10-21 15:41:29 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-10-21 15:41:29 +0200 |
commit | 7162e47efe4577ecf5620033a7404caa9375786d (patch) | |
tree | cf11bfbf2b5e0c03cab3d6ae8f50d547b9dccefa /sexp.h | |
parent | b64b3086f4392a564fb5dcc0c5a206cc58dbebd7 (diff) | |
download | nettle-7162e47efe4577ecf5620033a7404caa9375786d.tar.gz |
* sexp-transport.c (sexp_transport_iterator_first): New file and
function.
* sexp.h (sexp_transport_iterator_first): Added protoype.
Rev: src/nettle/sexp.h:1.6
Diffstat (limited to 'sexp.h')
-rw-r--r-- | sexp.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -58,6 +58,11 @@ int sexp_iterator_first(struct sexp_iterator *iterator, unsigned length, const uint8_t *input); +/* NOTE: Decodes the input string in place */ +int +sexp_transport_iterator_first(struct sexp_iterator *iterator, + unsigned length, uint8_t *input); + int sexp_iterator_next(struct sexp_iterator *iterator); @@ -106,5 +111,12 @@ struct nettle_buffer; int sexp_format(struct nettle_buffer *buffer, const char *format, ...); +int +sexp_transport_format(struct nettle_buffer *buffer, + /* If non-zero, break lines to at most + * line_length characters. */ + unsigned line_length, + const char *format, ...); + #endif /* NETTLE_SEXP_H_INCLUDED */ |