Function

Giodbus_is_address

Declaration [src]

gboolean
g_dbus_is_address (
  const gchar* string
)

Description [src]

Checks if string is a D-Bus address.

This doesn’t check if string is actually supported by GDBusServer or GDBusConnection - use g_dbus_is_supported_address() to do more checks.

Available since:2.26

Parameters

string const gchar*
 

A string.

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

Return value

Returns: gboolean
 

TRUE if string is a valid D-Bus address, FALSE otherwise.