diff options
Diffstat (limited to 'linkedlist.h')
-rw-r--r-- | linkedlist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linkedlist.h b/linkedlist.h index cdfc2872..6060345f 100644 --- a/linkedlist.h +++ b/linkedlist.h @@ -52,10 +52,11 @@ typedef struct linkedList_s linkedList_t; typedef llElt_t* linkedListCookie_t; /* this type avoids exposing internals and keeps us flexible */ /* prototypes */ -rsRetVal llInit(linkedList_t *pThis, rsRetVal (*pEltDestructor)(void*), rsRetVal (*pKeyDestructor)(void*)); +rsRetVal llInit(linkedList_t *pThis, rsRetVal (*pEltDestructor)(void*), rsRetVal (*pKeyDestructor)(void*), int pCmpOp()); rsRetVal llDestroy(linkedList_t *pThis); rsRetVal llGetNextElt(linkedList_t *pThis, linkedListCookie_t *ppElt, void **ppUsr); rsRetVal llAppend(linkedList_t *pThis, void *pKey, void *pData); rsRetVal llFind(linkedList_t *pThis, void *pKey, void **ppData); +rsRetVal llGetKey(llElt_t *pThis, void **ppData); #endif /* #ifndef LINKEDLIST_H_INCLUDED */ |