Spread 4.0.0 C API

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

  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

  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.

  Header: Include sp.h
Library: Use libspread
Version: 4.0

Also See
  spread programmer's reference