diff options
author | Qball Cow <qball@qballcow.nl> | 2007-08-19 14:46:00 +0000 |
---|---|---|
committer | Qball Cow <qball@qballcow.nl> | 2007-08-19 14:46:00 +0000 |
commit | 3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25 (patch) | |
tree | 0924bc864d2721324abb6dec032ab3a1d9c34cd1 /src/list.h | |
parent | 5bd81af3a9abca6b316c5899596ba308287b47a6 (diff) | |
download | mpd-3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25.tar.gz mpd-3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25.tar.xz mpd-3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25.zip |
Queue patch
git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6757 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/list.h')
-rw-r--r-- | src/list.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/list.h b/src/list.h index 5938934ff..35451ec24 100644 --- a/src/list.h +++ b/src/list.h @@ -100,6 +100,12 @@ int findInList(List * list, char *key, void **data); the info would be found */ int findNodeInList(List * list, char *key, ListNode ** node, int *pos); +/* + * returns ListNode at position _pos_ from first node. If no ListNode exists + * at position _pos_ returns NULL + */ +ListNode *getNodeByPosition(List *list, int pos); + /* frees memory malloc'd for list and its nodes * _list_ -> List to be free'd */ |