int arr_has(void **arr, void *content, int(*compare)(void *, void *))
Check null-terminated array arr for entry content using comparison function compare.
static int compare(void *a, void *b)
Compare path string a against path string b, which will always have a trailing forward slash.