tar: use utime() to restore timestamps
[minix.git] / servers / vfs / request.h
blob74f612bf9a1cde38a23b868ee208d6c70e9ee134
1 #ifndef __VFS_REQUEST_H__
2 #define __VFS_REQUEST_H__
4 /* Low level request messages are built and sent by wrapper functions.
5 * This file contains the request and response structures for accessing
6 * those wrappers functions.
7 */
9 #include <sys/types.h>
11 /* Structure for response that contains inode details */
12 typedef struct node_details {
13 endpoint_t fs_e;
14 ino_t inode_nr;
15 mode_t fmode;
16 off_t fsize;
17 uid_t uid;
18 gid_t gid;
20 /* For char/block special files */
21 dev_t dev;
22 } node_details_t;
24 /* Structure for a lookup response */
25 typedef struct lookup_res {
26 endpoint_t fs_e;
27 ino_t inode_nr;
28 mode_t fmode;
29 off_t fsize;
30 uid_t uid;
31 gid_t gid;
32 /* For char/block special files */
33 dev_t dev;
35 /* Fields used for handling mount point and symbolic links */
36 int char_processed;
37 unsigned char symloop;
38 } lookup_res_t;
41 #endif