libproff/list.c

/* [<][>]
[^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following functions.
  1. listFind

#include "libproff.h"

EXPORT struct list *listFind(void *vl, void *ve)
/* [<][>][^][v][top][bottom][index][help] */
{
    struct list *l = vl, 
                *e = ve,
                *p;
    PLIST_FOREACH(l, p)
        if (p == e)
            return p;
    return NULL;
}

/* [<][>][^][v][top][bottom][index][help] */