X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2FSPConfig.h;h=73a70a1667c018e8d26b13a1db60f34d1b1d2d9e;hb=ed385696038c5069d1b6fae6d890b1c64eb2cf28;hp=918b10281119c0f019b7b7928e92c27f68c11dd2;hpb=fc143e0b488ff261e79dc572536a8cfb4efd1392;p=shibboleth%2Fcpp-sp.git diff --git a/shibsp/SPConfig.h b/shibsp/SPConfig.h index 918b102..73a70a1 100644 --- a/shibsp/SPConfig.h +++ b/shibsp/SPConfig.h @@ -108,13 +108,21 @@ namespace shibsp { */ void setFeatures(unsigned long enabled); + + /** + * Gets the bitmask of subsystems being activated. + * + * @return bitmask of component constants + */ + unsigned long getFeatures() const; + /** * Test whether a subsystem is enabled. * * @param feature subsystem/component to test * @return true iff feature is enabled */ - bool isEnabled(components_t feature); + bool isEnabled(components_t feature) const; /** * Initializes library