blob: c81600f648b43d92798518ffb532ebaf885f8bc0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef __GED_DEBUG_FS_H__
#define __GED_DEBUG_FS_H__
#include <linux/seq_file.h>
#include "ged_type.h"
typedef ssize_t (GED_ENTRY_WRITE_FUNC)(
const char __user *pszBuffer,
size_t uiCount,
loff_t uiPosition,
void *pvData);
GED_ERROR ged_debugFS_create_entry(
const char* pszName,
void* pvDir,
struct seq_operations* psReadOps,
GED_ENTRY_WRITE_FUNC* pfnWrite,
void* pvData,
struct dentry** ppsEntry);
void ged_debugFS_remove_entry(
struct dentry *psEntry);
GED_ERROR ged_debugFS_create_entry_dir(
const char* pszName,
struct dentry* psParentDir,
struct dentry** ppsDir);
void ged_debugFS_remove_entry_dir(
struct dentry *psDir);
GED_ERROR ged_debugFS_init(void);
void ged_debugFS_exit(void);
#endif
|