aboutsummaryrefslogtreecommitdiff
path: root/src/core/list.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-05 01:55:27 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-05 01:55:27 -0800
commit5d0fb985db60c0807efc76f05edc8d4d3e5ffa95 (patch)
treeddb150db90c1e72d6d8b3ecf0e3ad8e58b751fe5 /src/core/list.h
parente1f991bd194dcbc8f2547ac4f583c998c727a1ec (diff)
downloadnng-5d0fb985db60c0807efc76f05edc8d4d3e5ffa95.tar.gz
nng-5d0fb985db60c0807efc76f05edc8d4d3e5ffa95.tar.bz2
nng-5d0fb985db60c0807efc76f05edc8d4d3e5ffa95.zip
SUB protocol implemented (uses sorted linked list for topics).
Diffstat (limited to 'src/core/list.h')
-rw-r--r--src/core/list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/list.h b/src/core/list.h
index a6540f5e..7d8b50be 100644
--- a/src/core/list.h
+++ b/src/core/list.h
@@ -36,6 +36,8 @@ extern void *nni_list_first(const nni_list *);
extern void *nni_list_last(const nni_list *);
extern void nni_list_append(nni_list *, void *);
extern void nni_list_prepend(nni_list *, void *);
+extern void nni_list_insert_before(nni_list *, void *, void *);
+extern void nni_list_insert_after(nni_list *, void *, void *);
extern void *nni_list_next(const nni_list *, void *);
extern void *nni_list_prev(const nni_list *, void *);
extern void nni_list_remove(nni_list *, void *);