Function notify_get_server_info

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.

extern(C) int notify_get_server_info (
  char** ret_name,
  char** ret_vendor,
  char** ret_version,
  char** ret_spec_version
);

Parameters

NameDescription
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