Divide poll.h to core and public headers

Also some cleanup of other headers.
This commit is contained in:
Esa Korhonen
2017-01-20 11:41:34 +02:00
parent 468411250d
commit 8cffa4ad58
12 changed files with 181 additions and 152 deletions

View File

@ -15,14 +15,16 @@
*/
#include <maxscale/cdefs.h>
#include <maxscale/poll.h>
#include <maxscale/dcb.h>
#include <maxscale/housekeeper.h>
#include <maxscale/maxscale_test.h>
#include <maxscale/log_manager.h>
#include <maxscale/config.h>
#include "../maxscale/poll.h"
#include "../maxscale/statistics.h"
void init_test_env(char *path)
{
int argc = 3;

View File

@ -33,9 +33,9 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <maxscale/poll.h>
#include <maxscale/dcb.h>
#include <maxscale/listener.h>
#include "test_utils.h"
/**

View File

@ -41,6 +41,7 @@ extern int debug_check_fail;
#include <maxscale/random_jkiss.h>
#include <maxscale/hk_heartbeat.h>
#include <maxscale/alloc.h>
#include "test_utils.h"
/**

View File

@ -33,9 +33,10 @@
#include <stdlib.h>
#include <string.h>
#include <maxscale/maxscale_test.h>
#include "../maxscale/service.h"
#include <maxscale/paths.h>
#include <maxscale/alloc.h>
#include "../maxscale/service.h"
#include "test_utils.h"
/**