Next: , Up: Reference Tracker Functions   [Index]


12.1.1.1 x1f4_find_lxfset

extern int x1f4_find_lxfset
    (void *fset, void **seek, void ***pick);

The x1f4_find_lxfset function searches the fset map for some pointer pair matching the pointer stored at seek. Upon success, the address of the found pointer pair is stored at pick.

The function returns 0 if no match was found, non zero otherwise.

Usage hint:

    void **result, *search;

    ...

    /* look for a pointer pair matching _search_ */
    if (x1f4_find_lxfset(fset, &search, &result)) {
	/* one found, _result_ points a pointer pair, with the first pointer
	 * matching _search_
	 */
    } else {
    }