Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2394 | konopa | 1 | /* Extended message structure, which is used for communicating between FS |
2 | * and its consuments. |
||
3 | */ |
||
4 | |||
5 | |||
6 | #ifndef _MESSAGE_H |
||
7 | #define _MESSAGE_H |
||
8 | |||
9 | /* Declaration of the extended message structure as it is in the call and buffer. */ |
||
10 | typedef struct { |
||
11 | ipcarg_t id_task; /* id of currently consument */ |
||
12 | ipcarg_t fd; /* file descriptor */ |
||
13 | ipcarg_t whence; /* start position of SEEK */ |
||
14 | |||
15 | /* Parameters which are present only in the buffer. */ |
||
16 | unsigned int nbytes; /* number of bytes which will be read */ |
||
17 | offset_t offset; /* offset of SEEK */ |
||
18 | char fname[DIRSIZEX]; /* file name */ |
||
19 | int entry_number; /* number of directory entry */ |
||
20 | } message_params_t; |
||
21 | |||
22 | #endif /* _MESSAGE_H */ |