Spread 3.17.3 C API

SP_version
 
int SP_version (int *major_version, int *minor_version, int *patch_version);


Parameters
  major_version returned major version of Spread library
  minor_version returned minor version of Spread library
  patch_version returned patch version of Spread library


Return Values
  0 on success
  1 if version not set


Description
  SP_version is a way to retrieve the current version of the Spread library that is linked with the client application. This may not be the same version number as the daemon that the client connects to. This function does not require any network communication.


Requirements
  Header: Include sp.h
Library: Use libspread or libtspread
Version: 3.17.3


Also See