Fixed extern declaration from pointer to array
[minix.git] / servers / vfs / request.h
blob787e9c88803d0f81d250e81d7f317157862baec4
2 /* Low level request messages are built and sent by wrapper functions.
3 * This file contains the request and response structures for accessing
4 * those wrappers functions.
5 */
7 #include <sys/types.h>
9 /* Structure for response that contains inode details */
10 typedef struct node_details {
11 endpoint_t fs_e;
12 ino_t inode_nr;
13 mode_t fmode;
14 off_t fsize;
15 uid_t uid;
16 gid_t gid;
18 /* For faster access */
19 unsigned short inode_index;
21 /* For char/block special files */
22 dev_t dev;
23 } node_details_t;
25 /* Structure for a lookup response */
26 typedef struct lookup_res {
27 endpoint_t fs_e;
28 ino_t inode_nr;
29 mode_t fmode;
30 off_t fsize;
31 uid_t uid;
32 gid_t gid;
33 /* For char/block special files */
34 dev_t dev;
36 /* Fields used for handling mount point and symbolic links */
37 int char_processed;
38 unsigned char symloop;
39 } lookup_res_t;
42 /* Structure for REQ_ request */