aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/misc.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-09-02 13:46:10 +0300
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-02 13:46:10 +0300
commit6d8bb956c5caa48c2aba6713f067224650c3c1e1 (patch)
tree00ab42ac7c63dc6e030f844f93cfb58999477bb2 /include/libssh/misc.h
parent3eece8ac0b107a7df8d95325ef17ed19d6429e75 (diff)
downloadlibssh-6d8bb956c5caa48c2aba6713f067224650c3c1e1.tar.gz
libssh-6d8bb956c5caa48c2aba6713f067224650c3c1e1.tar.xz
libssh-6d8bb956c5caa48c2aba6713f067224650c3c1e1.zip
channels: replaced bugged lists with ssh_list
cherry-picked from 0aef5f Conflicts: src/session.c
Diffstat (limited to 'include/libssh/misc.h')
-rw-r--r--include/libssh/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/misc.h b/include/libssh/misc.h
index be013372..c05a5870 100644
--- a/include/libssh/misc.h
+++ b/include/libssh/misc.h
@@ -58,6 +58,7 @@ struct ssh_timestamp {
struct ssh_list *ssh_list_new(void);
void ssh_list_free(struct ssh_list *list);
struct ssh_iterator *ssh_list_get_iterator(const struct ssh_list *list);
+struct ssh_iterator *ssh_list_find(const struct ssh_list *list, void *value);
int ssh_list_append(struct ssh_list *list, const void *data);
int ssh_list_prepend(struct ssh_list *list, const void *data);
void ssh_list_remove(struct ssh_list *list, struct ssh_iterator *iterator);