Function

Giodbus_is_name

Declaration [src]

gboolean
g_dbus_is_name (
  const gchar* string
)

Description [src]

Checks if string is a valid D-Bus bus name (either unique or well-known).

Available since:2.26

Parameters

string const gchar*
 

The string to check.

 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 valid, FALSE otherwise.