summaryrefslogtreecommitdiff
path: root/sexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sexp.h')
-rw-r--r--sexp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sexp.h b/sexp.h
index 6ef775e5..24d19063 100644
--- a/sexp.h
+++ b/sexp.h
@@ -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 */