Function

GExiv2Metadataget_tag_type

unstable since: 0.16.0

Declaration [src]

const gchar*
gexiv2_metadata_get_tag_type (
  const gchar* tag,
  GError** error
)

Description [src]

Get Exiv2’s type name of a tag.

The names of the various Exiv2 tag types can be found at Exiv2::TypeId, http://exiv2.org/doc/namespaceExiv2.html#a5153319711f35fe81cbc13f4b852450c

The Exiv2 Tag Reference can be found at http://exiv2.org/metadata.html.

Available since: 0.16.0

Parameters

tag

Type: const gchar*

An Exiv2 tag.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the function if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: const gchar*

The tag’s type name.

The data is owned by the called function.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.