MXS-1539: Assign capability bits for all module types
All modules now have an 8-bit range for capability flags. Currently only the client side authenticator and protocol capability bits are loaded due to the fact that backend versions of these modules don't relate to a particular service.
This commit is contained in:
@ -25,6 +25,19 @@
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* Specifies capabilities specific for authenticators.
|
||||
*
|
||||
* @see enum routing_capability
|
||||
*
|
||||
* @note The values of the capabilities here *must* be between 0x000100000000
|
||||
* and 0x008000000000, that is, bits 32 to 39.
|
||||
*/
|
||||
typedef enum authenticator_capability
|
||||
{
|
||||
ACAP_TYPE_ASYNC = 0x000100000000/**< Supports asynchronous access */
|
||||
} authenticator_capability_t;
|
||||
|
||||
/** Maximum number of authenticator options */
|
||||
#define AUTHENTICATOR_MAX_OPTIONS 256
|
||||
|
||||
|
Reference in New Issue
Block a user