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.

Parameters:

ret_name

a location to store the server name, or null

ret_vendor

a location to store the server vendor, or null

ret_version

a location to store the server version, or null

ret_spec_version

a location to store the version the service is compliant with, or null

Returns:

true if successful, and the variables passed will be set, false on error. The returned strings must be freed with g_free


Namespace: Notify
Package: libnotify



2022 vala-language.org