diff options
Diffstat (limited to 'include/linux/seq_file.h')
-rw-r--r-- | include/linux/seq_file.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h index 1da1e6208a0a..5b5369c3c209 100644 --- a/include/linux/seq_file.h +++ b/include/linux/seq_file.h | |||
@@ -10,6 +10,7 @@ struct seq_operations; | |||
10 | struct file; | 10 | struct file; |
11 | struct path; | 11 | struct path; |
12 | struct inode; | 12 | struct inode; |
13 | struct dentry; | ||
13 | 14 | ||
14 | struct seq_file { | 15 | struct seq_file { |
15 | char *buf; | 16 | char *buf; |
@@ -30,6 +31,8 @@ struct seq_operations { | |||
30 | int (*show) (struct seq_file *m, void *v); | 31 | int (*show) (struct seq_file *m, void *v); |
31 | }; | 32 | }; |
32 | 33 | ||
34 | #define SEQ_SKIP 1 | ||
35 | |||
33 | int seq_open(struct file *, const struct seq_operations *); | 36 | int seq_open(struct file *, const struct seq_operations *); |
34 | ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); | 37 | ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); |
35 | loff_t seq_lseek(struct file *, loff_t, int); | 38 | loff_t seq_lseek(struct file *, loff_t, int); |
@@ -42,6 +45,9 @@ int seq_printf(struct seq_file *, const char *, ...) | |||
42 | __attribute__ ((format (printf,2,3))); | 45 | __attribute__ ((format (printf,2,3))); |
43 | 46 | ||
44 | int seq_path(struct seq_file *, struct path *, char *); | 47 | int seq_path(struct seq_file *, struct path *, char *); |
48 | int seq_dentry(struct seq_file *, struct dentry *, char *); | ||
49 | int seq_path_root(struct seq_file *m, struct path *path, struct path *root, | ||
50 | char *esc); | ||
45 | 51 | ||
46 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *); | 52 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *); |
47 | int single_release(struct inode *, struct file *); | 53 | int single_release(struct inode *, struct file *); |