PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ option_list_length()

size_t option_list_length ( char **  olist)

Returns the total number of keys and values in the list.

Definition at line 73 of file optionlist.c.

74 {
75  size_t i = 0;
76  char **iter = olist;
77  if (!olist) return 0;
78  while(*iter) {
79  i++;
80  iter++;
81  }
82  return i;
83 }

Referenced by rt_pg_vsi_check_options(), rt_util_gdal_open(), and test_optionlist().

Here is the caller graph for this function: