From b59aa757205b2dc330d7864d88381c67beefb254 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 16 Jul 2006 16:50:54 +0000 Subject: remove the glib library dependency We never used many features from it, so there's no point in keeping it and forcing people to install a non-standard library. It may be standard on many GNU/Linux distributions, but there are many other UNIXes out there. This makes life much easier for people cross-compiling (like me :) git-svn-id: https://svn.musicpd.org/mpd/trunk@4361 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/list.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h index 6d5f5e0c7..ec72561a4 100644 --- a/src/list.h +++ b/src/list.h @@ -97,6 +97,9 @@ void deleteNodeFromList(List * list,ListNode * node); */ int findInList(List * list, char * key, void ** data); +/* if _key_ is not found, *_node_ is assigned to the node before which + the info would be found */ +int findNodeInList(List * list, char * key, ListNode ** node, int * pos); /* frees memory malloc'd for list and its nodes * _list_ -> List to be free'd -- cgit v1.2.3