jffs_proc.h 917 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * JFFS -- Journaling Flash File System, Linux implementation.
  3. *
  4. * Copyright (C) 2000 Axis Communications AB.
  5. *
  6. * Created by Simon Kagstrom <simonk@axis.com>.
  7. *
  8. * This is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * $Id: jffs_proc.h,v 1.2 2000/11/15 22:04:12 sjhill Exp $
  14. */
  15. /* jffs_proc.h defines a structure for inclusion in the proc-file system. */
  16. #ifndef __LINUX_JFFS_PROC_H__
  17. #define __LINUX_JFFS_PROC_H__
  18. #include <linux/proc_fs.h>
  19. /* The proc_dir_entry for jffs (defined in jffs_proc.c). */
  20. extern struct proc_dir_entry *jffs_proc_root;
  21. int jffs_register_jffs_proc_dir(int mtd, struct jffs_control *c);
  22. int jffs_unregister_jffs_proc_dir(struct jffs_control *c);
  23. #endif /* __LINUX_JFFS_PROC_H__ */