Replace get_users implementation with new version

The get_users function now combines the functionality of the old get_users
and get_all_users. This removes large parts of similar code.

Removed the listener resources as MySQLAuth was the only one that used it.
This commit is contained in:
Markus Mäkelä
2017-01-28 23:27:06 +02:00
parent 62763e2505
commit 48d70fa4a8
4 changed files with 192 additions and 1469 deletions

View File

@ -44,7 +44,6 @@ typedef struct servlistener
SSL_LISTENER *ssl; /**< Structure of SSL data or NULL */
struct dcb *listener; /**< The DCB for the listener */
struct users *users; /**< The user data for this listener */
HASHTABLE *resources; /**< hastable for listener resources, i.e. database names */
struct service* service; /**< The service which used by this listener */
SPINLOCK lock;
struct servlistener *next; /**< Next service protocol */