patch-2.1.28 linux/include/linux/proc_fs.h

Next file: linux/include/linux/serial.h
Previous file: linux/include/linux/awe_voice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.27/linux/include/linux/proc_fs.h linux/include/linux/proc_fs.h
@@ -223,6 +223,10 @@
 	void (*fill_inode)(struct inode *);
 	struct proc_dir_entry *next, *parent, *subdir;
 	void *data;
+	int (*read_proc)(char *page, char **start, off_t off,
+			 int count, void *data);
+	int (*write_proc)(struct file *file, const char *buffer,
+			  unsigned long count, void *data);
 };
 
 extern int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start,
@@ -327,6 +331,7 @@
 extern int proc_openprom_unregdev(struct openpromfs_dev *);
   
 extern struct inode_operations proc_dir_inode_operations;
+extern struct inode_operations proc_file_inode_operations;
 extern struct inode_operations proc_net_inode_operations;
 extern struct inode_operations proc_netdir_inode_operations;
 extern struct inode_operations proc_scsi_inode_operations;
@@ -344,3 +349,16 @@
 extern struct inode_operations proc_ringbuf_inode_operations;
 #endif
 #endif
+
+/*
+ * generic.c
+ */
+struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode,
+					 struct proc_dir_entry *parent);
+
+/*
+ * proc_tty.c
+ */
+extern void proc_tty_init(void);
+extern void proc_tty_register_driver(struct tty_driver *driver);
+extern void proc_tty_unregister_driver(struct tty_driver *driver);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov