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:
Markus Mäkelä
2018-01-02 13:44:16 +02:00
parent 9689271a34
commit 6036c1cdca
8 changed files with 61 additions and 8 deletions

View File

@ -156,7 +156,7 @@ typedef struct service
struct service *next; /**< The next service in the linked list */
bool retry_start; /**< If starting of the service should be retried later */
bool log_auth_warnings; /**< Log authentication failures and warnings */
uint64_t capabilities; /**< The capabilities of the service. */
uint64_t capabilities; /**< The capabilities of the service, @see enum routing_capability */
int max_retry_interval; /**< Maximum retry interval */
} SERVICE;