sipo.h

Go to the documentation of this file.
00001 
00049 #ifndef DRV_SIPO_H
00050 #define DRV_SIPO_H
00051 
00052 #include <kern/kfile.h>
00053 
00057 typedef struct Sipo
00058 {
00059     KFile fd;                       
00060 } Sipo;
00061 
00065 #define KFT_SIPO MAKE_ID('S', 'I', 'P', 'O')
00066 
00070 INLINE Sipo * SIPO_CAST(KFile *fd)
00071 {
00072     ASSERT(fd->_type == KFT_SIPO);
00073     return (Sipo *)fd;
00074 }
00075 
00076 void sipo_init(Sipo *fd);
00077 
00078 #endif // DRV_SIPO_H
00079