So I have been working on this without much cause for celebration.
I have implemented the creation of the list, the push and pop aspects of it and the iterator for which you traverse the list. However there is one aspect that aludes me which is this function pointer that I am having trouble "baking into" my list.
The function pointer in question is:
typedef int (*cmpfunc_t)(void *, void *); specifically I have never encountered one of these before and googling it yielded little to no answers for how to proceed.
My code in its entirety: common.h * GitHub
Any help would be appreciated!