PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ stringlist_find()

const char* stringlist_find ( stringlist_t s,
const char *  key 
)

Definition at line 129 of file stringlist.c.

130 {
131  char ** rslt = bsearch(&key, s->data, s->length, sizeof(char*), stringlist_cmp);
132  if (! rslt) return NULL;
133  return *rslt;
134 }
char * s
Definition: cu_in_wkt.c:23
static int stringlist_cmp(const void *a, const void *b)
Definition: stringlist.c:84

References s, and stringlist_cmp().

Referenced by rt_pg_vsi_check_options(), and test_stringlist().

Here is the call graph for this function:
Here is the caller graph for this function: