summaryrefslogtreecommitdiff
path: root/drmsetup.h
diff options
context:
space:
mode:
Diffstat (limited to 'drmsetup.h')
-rw-r--r--drmsetup.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drmsetup.h b/drmsetup.h
new file mode 100644
index 0000000..61af2d5
--- /dev/null
+++ b/drmsetup.h
@@ -0,0 +1,10 @@
+#ifndef _DRM_SETUP_H
+#define _DRM_SETUP_H
+
+#include <stddef.h> /* xf86drmMode.h uses size_t without including stddef.h, sigh */
+#include <stdint.h>
+#include <xf86drmMode.h>
+
+void drm_setup(int *res_drm_fd, uint32_t *res_crtc_id, uint32_t *res_connector_id, drmModeModeInfoPtr *res_mode);
+
+#endif
© All Rights Reserved