diff options
Diffstat (limited to 'src/libfs/fsimpl.h')
-rw-r--r-- | src/libfs/fsimpl.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/libfs/fsimpl.h b/src/libfs/fsimpl.h deleted file mode 100644 index 59cecaa5..00000000 --- a/src/libfs/fsimpl.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (C) 2003 Russ Cox, Massachusetts Institute of Technology */ -/* See COPYRIGHT */ - -#include <thread.h> - -typedef struct Queue Queue; -Queue *_fsqalloc(void); -int _fsqsend(Queue*, void*); -void *_fsqrecv(Queue*); -void _fsqhangup(Queue*); -void *_fsnbqrecv(Queue*); - -#include <mux.h> -struct Fsys -{ - char version[20]; - int msize; - QLock lk; - int fd; - int ref; - Mux mux; - Fid *root; - Queue *txq; - Queue *rxq; - Fid *freefid; - int nextfid; - Ioproc *iorecv; - Ioproc *iosend; -}; - -struct Fid -{ - int fid; - int mode; - Fid *next; - QLock lk; - Fsys *fs; - Qid qid; - vlong offset; -}; - -void _fsdecref(Fsys*); -void _fsputfid(Fid*); -Fid *_fsgetfid(Fsys*); - |