2013-05-07 14:36:09 +02:00
|
|
|
|
|
|
|
#ifndef _FDREF_H
|
|
|
|
#define _FDREF_H 1
|
|
|
|
|
|
|
|
#include <minix/callnr.h>
|
|
|
|
#include <minix/com.h>
|
|
|
|
#include <minix/config.h>
|
|
|
|
#include <minix/const.h>
|
|
|
|
#include <minix/ds.h>
|
|
|
|
#include <minix/endpoint.h>
|
|
|
|
#include <minix/minlib.h>
|
|
|
|
#include <minix/type.h>
|
|
|
|
#include <minix/ipc.h>
|
|
|
|
#include <minix/sysutil.h>
|
|
|
|
#include <minix/syslib.h>
|
|
|
|
#include <minix/const.h>
|
|
|
|
|
|
|
|
struct fdref {
|
|
|
|
int fd;
|
|
|
|
int refcount;
|
|
|
|
dev_t dev;
|
|
|
|
ino_t ino;
|
|
|
|
struct fdref *next;
|
|
|
|
int counting; /* sanity check */
|
2013-08-20 14:02:33 +02:00
|
|
|
};
|
2013-05-07 14:36:09 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|