Subversion Repositories HelenOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* This is the per-process information.  A slot is reserved for each potential
  2.  * process.
  3.  */
  4.  
  5.    
  6. #ifndef _FPROC_H
  7. #define _FPROC_H
  8.  
  9. typedef struct {
  10.       inode_t *fp_workdir;     /* pointer to working directory's inode */
  11.       inode_t *fp_rootdir;     /* pointer to current root dir (see chroot) */
  12.       filp_t *fp_filp[OPEN_MAX];/* the file descriptor table */
  13.       int fp_cum_io_partial;    /* partial byte count if read can't finish */
  14.       pid_t fp_pid;             /* process id */
  15.       int connected;        /* is connection valid? */
  16.       void *buffer;         /* buffer for data */
  17.     } fproc_t;
  18.  
  19. extern fproc_t fproc[NR_PROCS];
  20.  
  21. #endif /* _FPROC_H */
  22.  
  23.