libcollectdclient: Added header lcc_features.h.
authorSebastian Harl <sh@tokkee.org>
Sun, 11 Jan 2009 14:10:54 +0000 (15:10 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 11 Jan 2009 14:10:54 +0000 (15:10 +0100)
commitdc45cf5efd216bb2f96081423ff341704cf99a59
tree0e5b8794899b469ad683c769f71efe92b22e071f
parent65e9edc6a4c385128eb20dbbca2ed66c9e11d310
libcollectdclient: Added header lcc_features.h.

This header provides various macros and functions that may be used to
determine the version of libcollectdclient (i.e. collectd). The file will be
auto-created from lcc_features.h.in by configure.

The macro LCC_VERSION (previously defined in client.h) has been moved to this
header as well and has been renamed to LCC_API_VERSION.

This allows for fine grained version checks at compile- and runtime.
configure.in
src/libcollectdclient/Makefile.am
src/libcollectdclient/client.c
src/libcollectdclient/client.h
src/libcollectdclient/lcc_features.h.in [new file with mode: 0644]