# HG changeset patch # User Florian Pose # Date 1338473343 -7200 # Node ID 9efaf2a0cc487d7178a3d0bbb3ae93249be62ed7 # Parent cf9db49bcce8048ac874801d35d5ca9bd48ba81f Added EC_HAVE_REDUNDANCY. diff -r cf9db49bcce8 -r 9efaf2a0cc48 include/ecrt.h --- a/include/ecrt.h Thu May 31 11:03:58 2012 +0200 +++ b/include/ecrt.h Thu May 31 16:09:03 2012 +0200 @@ -44,6 +44,8 @@ * - Added redundancy_active flag to ec_domain_state_t. * - Added ecrt_master_link_state() method and ec_master_link_state_t to query * the state of a redundant link. + * - Added the EC_HAVE_REDUNDANCY define, to check, if the interface contains + * redundancy features. * * Changes in version 1.5: * @@ -125,6 +127,17 @@ */ #define ECRT_VERSION_MAGIC ECRT_VERSION(ECRT_VER_MAJOR, ECRT_VER_MINOR) +/****************************************************************************** + * Feature flags + *****************************************************************************/ + +/** Defined, if the redundancy features are available. + * + * I. e. if the \a redundancy_active flag in ec_domain_state_t and the + * ecrt_master_link_state() method are available. + */ +#define EC_HAVE_REDUNDANCY + /*****************************************************************************/ /** End of list marker.