/* @@@HEAD@@@ // Declarations for file control. */ #ifndef _file_h_ #define _file_h_ typedef struct file File; #include "cdc_types.h" #include "data.h" struct file { int fd; /* File descriptor for input and output. */ Dbref dbref; /* Object file is associated with. */ struct { char readable; /* Connection has new data pending. */ char writable; /* Connection can be written to. */ char dead; /* Connection is defunct. */ } flags; Connection *next; }; #endif