Method

AravisDevicedup_available_enumeration_feature_values_as_strings

Declaration [src]

const char**
arv_device_dup_available_enumeration_feature_values_as_strings (
  ArvDevice* device,
  const char* feature,
  guint* n_values,
  GError** error
)

Description [src]

Get all the available values of feature, as strings.

Available since:0.8.0

Parameters

feature const char*
 

Feature name.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
n_values guint*
 

Placeholder for the number of returned values.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: An array of utf8
 

A newly created array of const strings, which must freed after use using g_free, or NULL on error.

 The length of the array is in the n_values argument.
 The caller of the method takes ownership of the data container, but not the data inside it.