compositor-wayland: put configuration structure in separate header

Signed-off-by: Benoit Gschwind <gschwind@gnu-log.net>
[Pekka: moved #include out of extern "C".]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index d96fc0c..d0d1082 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -40,6 +40,7 @@
 #include <wayland-cursor.h>
 
 #include "compositor.h"
+#include "compositor-wayland.h"
 #include "gl-renderer.h"
 #include "pixman-renderer.h"
 #include "shared/helpers.h"
@@ -52,25 +53,6 @@
 
 #define WINDOW_TITLE "Weston Compositor"
 
-struct weston_wayland_backend_output_config {
-	int width;
-	int height;
-	char *name;
-	uint32_t transform;
-	int32_t scale;
-};
-
-struct weston_wayland_backend_config {
-	int use_pixman;
-	int sprawl;
-	char *display_name;
-	int fullscreen;
-	char *cursor_theme;
-	int cursor_size;
-	int num_outputs;
-	struct weston_wayland_backend_output_config *outputs;
-};
-
 struct wayland_backend {
 	struct weston_backend base;
 	struct weston_compositor *compositor;