Subversion Repositories HelenOS

Rev

Rev 2529 | Rev 2540 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2529 Rev 2535
Line 34... Line 34...
34
#define VFS_VFS_H_
34
#define VFS_VFS_H_
35
 
35
 
36
#include <ipc/ipc.h>
36
#include <ipc/ipc.h>
37
#include <libadt/list.h>
37
#include <libadt/list.h>
38
 
38
 
-
 
39
#define dprintf(...)    printf(__VA_ARGS__)
-
 
40
 
39
#define VFS_FIRST   FIRST_USER_METHOD
41
#define VFS_FIRST   FIRST_USER_METHOD
40
 
42
 
41
#define IPC_METHOD_TO_VFS_OP(m) ((m) - VFS_FIRST)   
43
#define IPC_METHOD_TO_VFS_OP(m) ((m) - VFS_FIRST)   
42
 
44
 
43
typedef enum {
45
typedef enum {
Line 86... Line 88...
86
    link_t fs_link;
88
    link_t fs_link;
87
    vfs_info_t vfs_info;
89
    vfs_info_t vfs_info;
88
    ipcarg_t phone;
90
    ipcarg_t phone;
89
} fs_info_t;
91
} fs_info_t;
90
 
92
 
-
 
93
extern link_t fs_head;
-
 
94
 
-
 
95
extern void vfs_register(ipc_callid_t rid, ipc_call_t *request);
-
 
96
 
91
#endif
97
#endif
92
 
98
 
93
/**
99
/**
94
 * @}
100
 * @}
95
 */
101
 */