summaryrefslogtreecommitdiff
path: root/sexp.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-11-21 23:28:49 +0100
committerNiels Möller <nisse@lysator.liu.se>2002-11-21 23:28:49 +0100
commit585b586aef8304b333d956e5c4658c882e1834dc (patch)
treef4d5505cde0eb7848994c0eb0fd4179bab3acbe9 /sexp.h
parent1283d5f6ace4cf8514e743c5563e07ecad5452cf (diff)
downloadnettle-585b586aef8304b333d956e5c4658c882e1834dc.tar.gz
(sexp_iterator_exit_lists): New function, #if:ed out for
now. Rev: src/nettle/sexp.c:1.13 Rev: src/nettle/sexp.h:1.10
Diffstat (limited to 'sexp.h')
-rw-r--r--sexp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sexp.h b/sexp.h
index 074c7c8f..7baee5b8 100644
--- a/sexp.h
+++ b/sexp.h
@@ -77,6 +77,14 @@ sexp_iterator_enter_list(struct sexp_iterator *iterator);
int
sexp_iterator_exit_list(struct sexp_iterator *iterator);
+#if 0
+/* Skips out of as many lists as necessary to get back to the given
+ * level. */
+int
+sexp_iterator_exit_lists(struct sexp_iterator *iterator,
+ unsigned level);
+#endif
+
/* Gets start and length of the current subexpression. Implies
* sexp_iterator_next. */
const uint8_t *