From 918dc2ff22e13808665b589e6740f45256e73c97 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 10 Apr 2004 02:55:27 +0000 Subject: ideas on how to make readDirectoryInfo and readSongInfo deal with already existing db stuff, and implement a new List function that will be very useful: insertInListBeforeNode() git-svn-id: https://svn.musicpd.org/mpd/trunk@657 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 4ae32160a..14f7f396b 100644 --- a/src/list.h +++ b/src/list.h @@ -69,6 +69,9 @@ List * makeList(ListFreeDataFunc * freeDataFunc); */ int insertInList(List * list,char * key,void * data); +int insertInListBeforeNode(List * list, ListNode * beforeNode, char * key, + void * data); + int insertInListWithoutKey(List * list,void * data); /* deletes the first node in the list with the key _key_ -- cgit v1.2.3