Version Information

Version Information — Variables to check the SpreadRPC version

Synopsis

#define             SP_RPC_PROTOCOL_VERSION
extern              const gchar *	sp_rpc_version_string;
extern              const guint	sp_rpc_version_major;
extern              const guint	sp_rpc_version_minor;
extern              const guint	sp_rpc_version_micro;

Description

SpreadRPC provides version information, primarily useful in configure checks for builds that have a configure script. Applications will not typically use the features described here.

Details

SP_RPC_PROTOCOL_VERSION

#define	SP_RPC_PROTOCOL_VERSION	"0.1"

The version of the protocol.


sp_rpc_version_string

extern const gchar *	sp_rpc_version_string;

The version as a string of the Spread RPC library. (e.g. "0.1.2") This variable is in the library, so represents the GLib library you have linked against.


sp_rpc_version_major

extern const guint	sp_rpc_version_major;

The major version number of the Spread RPC library. (e.g. in Spread RPC version 0.1.2 this is 0.) This variable is in the library, so represents the GLib library you have linked against.


sp_rpc_version_minor

extern const guint	sp_rpc_version_minor;

The minor version number of the Spread RPC library. (e.g. in Spread RPC version 0.1.2 this is 1.) This variable is in the library, so represents the GLib library you have linked against.


sp_rpc_version_micro

extern const guint	sp_rpc_version_micro;

The micro version number of the Spread RPC library. (e.g. in Spread RPC version 0.1.2 this is 2.) This variable is in the library, so represents the GLib library you have linked against.