aboutsummaryrefslogtreecommitdiffstats
path: root/src/list.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-16 16:50:54 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-16 16:50:54 +0000
commitb59aa757205b2dc330d7864d88381c67beefb254 (patch)
tree382ba7b45c12d6115b828c8aaf76dac62e90120f /src/list.h
parent210ab3b9716b2cc3fa70e06011de143114c430b6 (diff)
downloadmpd-b59aa757205b2dc330d7864d88381c67beefb254.tar.gz
mpd-b59aa757205b2dc330d7864d88381c67beefb254.tar.xz
mpd-b59aa757205b2dc330d7864d88381c67beefb254.zip
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
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h3
1 files changed, 3 insertions, 0 deletions
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