From 5ad504240dc8747eb91efaba14577847eb0bfcdd Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sun, 3 Apr 2005 08:07:58 +0000 Subject: added list_is_ptrin() --- src/pacman/list.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/list.h') diff --git a/src/pacman/list.h b/src/pacman/list.h index ca738f9e..845ca5c8 100644 --- a/src/pacman/list.h +++ b/src/pacman/list.h @@ -35,6 +35,7 @@ list_t *list_new(); void list_free(list_t* list); list_t *list_add(list_t* list, void *data); int list_count(list_t* list); +int list_is_ptrin(void *needle, list_t *haystack); int list_is_strin(char *needle, list_t *haystack); void list_display(const char *title, list_t *list); -- cgit v1.2.3-70-g09d2