diff options
Diffstat (limited to 'lib/llist.c')
-rw-r--r-- | lib/llist.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/llist.c b/lib/llist.c index ae5a466c6..0caa25ad6 100644 --- a/lib/llist.c +++ b/lib/llist.c @@ -130,3 +130,9 @@ Curl_llist_destroy(struct curl_llist *list, void *user) free(list); } } + +size_t +Curl_llist_count(struct curl_llist *list) +{ + return list->size; +} |