next up previous contents index
Next: 10.19.5 anno_init: initialize annotation Up: 10.19 Annotations Previous: 10.19.3 anno_find_exact: find annotation

10.19.4 anno_find_lower: find greatest annotation table entry below a value.

   

SYNOPSIS

#include <oskit/anno.h>

struct anno_entry *anno_find_lower(struct anno_table *tab, oskit_addr_t val1);

DESCRIPTION

Find an entry in the specified annotation table with the largest val1 field less than or equal to the specified value. If no entry has a lower or equal value, returns zero.

PARAMETERS

tab
annotation table to search
val1
value to search for

RETURNS

Returns a pointer to the appropriate anno_entry, or zero if no lower entry is found.



University of Utah Flux Research Group