2 //=============================================================================
6 * A simple File Descriptor and File System IDL interface.
9 * @author Irfan Pyarali
11 //=============================================================================
25 typedef sequence
<octet
> DataBuffer
;
27 long write
(in DataBuffer buffer
)
29 // write buffer to File
31 DataBuffer read
(in long num_bytes
)
33 // read num_bytes to DataBuffer
35 unsigned long lseek
(in unsigned long offset
,
38 // seek to offset in File from whence
41 // destroy the descriptor
46 Descriptor open
(in string file_name
,
49 // File open operation