Function

Giodbus_is_error_name

Declaration

gboolean
g_dbus_is_error_name (
  const gchar* string
)

Description

Check whether string is a valid D-Bus error name.

This function returns the same result as g_dbus_is_interface_name(), because D-Bus error names are defined to have exactly the same syntax as interface names.

Available since:2.70

Parameters

string

Type: const gchar*

The string to check.

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

Return value

Type: gboolean

TRUE if valid, FALSE otherwise.