diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-12-05 07:24:59 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-12-05 07:24:59 +0000 |
commit | 4439817d4df10956b884e0d47ac6e3d18c141238 (patch) | |
tree | 924574441e19c77fc6e4aca1acebb6d7aad19296 /src/slist.h | |
parent | added config file format to manpage (diff) |
check wether config file was empty
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@29 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/slist.h')
-rw-r--r-- | src/slist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slist.h b/src/slist.h index 4812192..f036bf3 100644 --- a/src/slist.h +++ b/src/slist.h @@ -46,5 +46,6 @@ int slist_init(slist_t* lst, void (*delete_element)(void*)); slist_element_t* slist_add(slist_t* lst, void* data); void slist_remove(slist_t* lst, void* data); void slist_clear(slist_t* lst); +int slist_length(slist_t* lst); #endif |