2020-07-31 00:22:18 +02:00
|
|
|
#ifndef _SEATD_DRM_H
|
|
|
|
#define _SEATD_DRM_H
|
|
|
|
|
|
|
|
int drm_set_master(int fd);
|
|
|
|
int drm_drop_master(int fd);
|
2020-08-01 03:23:56 +02:00
|
|
|
int path_is_drm(const char *path);
|
|
|
|
|
|
|
|
#if defined(__linux__)
|
|
|
|
#include <sys/types.h>
|
2020-07-31 00:22:18 +02:00
|
|
|
int dev_is_drm(dev_t device);
|
2020-08-01 03:23:56 +02:00
|
|
|
#endif
|
2020-07-31 00:22:18 +02:00
|
|
|
|
|
|
|
#endif
|