summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-10-09 11:45:31 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-10-15 19:02:08 +0100
commitffa2107abc46bb891ee2e0f2f73944626b9c67a9 (patch)
tree826c2d7a7886e0f0e3ab1ba41139455a1742c1f0 /lib/igt_debugfs.h
parent51b63e334c5a4271b845d2eba0486c2b4f2bbda0 (diff)
lib: Add igt_debugfs_fopen()
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index aa9449a8..1035a933 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -25,6 +25,8 @@
#ifndef __IGT_DEBUGFS_H__
#define __IGT_DEBUGFS_H__
+#include <stdio.h>
+
typedef struct {
char root[128];
char dri_path[128];
@@ -32,5 +34,7 @@ typedef struct {
int igt_debugfs_init(igt_debugfs_t *debugfs);
int igt_debugfs_open(igt_debugfs_t *debugfs, const char *filename);
+FILE *igt_debugfs_fopen(igt_debugfs_t *debugfs, const char *filename,
+ const char *mode);
#endif /* __IGT_DEBUGFS_H__ */