file.h
ColdX-0.2-4-dev/src/include/file.h · 495 B
From the archive ColdX-0.2-4-dev.tar.gz
Download the archive « Back to the archive contents
/* @@@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