Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2434 → Rev 2435

/branches/fs/uspace/fs/fproc.h
32,9 → 32,14
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** @addtogroup FileSystemImpl
* @{
*/
 
/* This is the per-process information. A slot is reserved for each potential
* process.
/**
* @file fproc.h
* @brief Per-process information definition
*/
 
41,14 → 46,17
#ifndef _FPROC_H
#define _FPROC_H
 
/**
* This is the per-process information. A slot is reserved for each potential process.
*/
typedef struct {
inode_t *fp_workdir; /* pointer to working directory's inode */
inode_t *fp_rootdir; /* pointer to current root dir (see chroot) */
filp_t *fp_filp[OPEN_MAX];/* the file descriptor table */
int fp_cum_io_partial; /* partial byte count if read can't finish */
pid_t fp_pid; /* process id */
int connected; /* is connection valid? */
void *buffer; /* buffer for data */
inode_t *fp_workdir; /**< pointer to working directory's inode */
inode_t *fp_rootdir; /**< pointer to current root dir (see chroot) */
filp_t *fp_filp[OPEN_MAX];/**< the file descriptor table */
int fp_cum_io_partial; /**< partial byte count if read can't finish */
pid_t fp_pid; /**< process id */
int connected; /**< is connection valid? */
void *buffer; /**< buffer for data */
} fproc_t;
 
extern fproc_t fproc[NR_PROCS];
55,3 → 63,8
 
#endif /* _FPROC_H */
 
 
/**
* }
*/