~kennylevinsen/seatd

seatd/include/drm.h -rw-r--r-- 227 bytes
355cc9c9Kenny Levinsen meson: Support building builtin without seatd 18 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _SEATD_DRM_H
#define _SEATD_DRM_H

int drm_set_master(int fd);
int drm_drop_master(int fd);
int path_is_drm(const char *path);

#if defined(__linux__)
#include <sys/types.h>
int dev_is_drm(dev_t device);
#endif

#endif