| Nicolai Stange | 9fd4dce | 2016-03-22 14:11:13 +0100 | [diff] [blame] | 1 | /* | 
 | 2 |  *  internal.h - declarations internal to debugfs | 
 | 3 |  * | 
 | 4 |  *  Copyright (C) 2016 Nicolai Stange <nicstange@gmail.com> | 
 | 5 |  * | 
 | 6 |  *	This program is free software; you can redistribute it and/or | 
 | 7 |  *	modify it under the terms of the GNU General Public License version | 
 | 8 |  *	2 as published by the Free Software Foundation. | 
 | 9 |  * | 
 | 10 |  */ | 
 | 11 |  | 
 | 12 | #ifndef _DEBUGFS_INTERNAL_H_ | 
 | 13 | #define _DEBUGFS_INTERNAL_H_ | 
 | 14 |  | 
 | 15 | struct file_operations; | 
| Nicolai Stange | 9fd4dce | 2016-03-22 14:11:13 +0100 | [diff] [blame] | 16 |  | 
 | 17 | /* declared over in file.c */ | 
 | 18 | extern const struct file_operations debugfs_noop_file_operations; | 
 | 19 | extern const struct file_operations debugfs_open_proxy_file_operations; | 
| Nicolai Stange | 49d200d | 2016-03-22 14:11:14 +0100 | [diff] [blame] | 20 | extern const struct file_operations debugfs_full_proxy_file_operations; | 
| Nicolai Stange | 9fd4dce | 2016-03-22 14:11:13 +0100 | [diff] [blame] | 21 |  | 
| Nicolai Stange | 49d200d | 2016-03-22 14:11:14 +0100 | [diff] [blame] | 22 | struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, | 
 | 23 | 					struct dentry *parent, void *data, | 
 | 24 | 					const struct file_operations *fops); | 
| Nicolai Stange | 9fd4dce | 2016-03-22 14:11:13 +0100 | [diff] [blame] | 25 |  | 
 | 26 | #endif /* _DEBUGFS_INTERNAL_H_ */ |