libweston: Introduce backend.h

Introduce a new private header file that only internal backends are
allowed to use. Starts by migrating functions that operate on the
'struct weston_head'.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad
2019-07-16 23:11:25 +03:00
committed by Daniel Stone
parent 0260fed3c7
commit e41c1bff11
6 changed files with 65 additions and 29 deletions
+1
View File
@@ -47,6 +47,7 @@
#include <libweston/backend-drm.h>
#include "shared/helpers.h"
#include "shared/timespec-util.h"
#include "backend.h"
#include "libweston-internal.h"
#define MAX_RETRY_COUNT 3