root/include/linux/ncp_fs_i.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  *  ncp_fs_i.h
   3  *
   4  *  Copyright (C) 1995 Volker Lendecke
   5  *
   6  */
   7 
   8 #ifndef _LINUX_NCP_FS_I
   9 #define _LINUX_NCP_FS_I
  10 
  11 #include <linux/ncp.h>
  12 
  13 #ifdef __KERNEL__
  14 
  15 enum ncp_inode_state {
  16         NCP_INODE_VALID = 19,   /* Inode currently in use */
  17         NCP_INODE_LOOKED_UP,    /* directly before iget */
  18         NCP_INODE_CACHED,       /* in a path to an inode which is in use */
  19         NCP_INODE_INVALID
  20 };
  21 
  22 /*
  23  * ncp fs inode data (in memory only)
  24  */
  25 struct ncp_inode_info {
  26         enum ncp_inode_state state;
  27         int nused;              /* for directories:
  28                                    number of references in memory */
  29         struct ncp_inode_info *dir;
  30         struct ncp_inode_info *next, *prev;
  31         struct inode *inode;
  32         struct nw_file_info finfo;
  33 };
  34 
  35 #endif
  36 #endif

/* [previous][next][first][last][top][bottom][index][help] */