MXS-2008 Move maxscale/worker.h to maxbase/worker.h

This commit is contained in:
Johan Wikman
2018-08-17 15:37:00 +03:00
parent 932956d5f6
commit e0cb11151f
10 changed files with 49 additions and 54 deletions

View File

@ -13,8 +13,8 @@
*/
#include <maxscale/cdefs.h>
#include <maxbase/worker.h>
#include <maxscale/session.h>
#include <maxscale/worker.h>
MXS_BEGIN_DECLS
@ -31,14 +31,14 @@ MXS_BEGIN_DECLS
* @return The corresponding routing worker instance, or NULL if the
* id does not correspond to a routing worker.
*/
MXS_WORKER* mxs_rworker_get(int worker_id);
MXB_WORKER* mxs_rworker_get(int worker_id);
/**
* Return the current routing worker.
*
* @return A routing worker, or NULL if there is no current routing worker.
*/
MXS_WORKER* mxs_rworker_get_current();
MXB_WORKER* mxs_rworker_get_current();
/**
* Return the id of the current routing worker.