Valadoc | Vala | Tutorial | API-References | Markup

get_server_info


Description:

public bool get_server_info (out string ret_name, out string ret_vendor, out string ret_version, out string ret_spec_version)

Synchronously queries the server for its information, specifically, the name, vendor, server version, and the version of the notifications specification that it is compliant with. on error. The returned strings must be freed with g_free

Parameters:

ret_version a location to store the server version, or null
ret_name a location to store the server name, or null
ret_spec_version a location to store the version the service is compliant with, or null
ret_vendor a location to store the server vendor, or null

Returns:

true if successful, and the variables passed will be set, false

Namespace: Notify
Package: libnotify