Subversion Repositories HelenOS

Rev

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

Rev 4401 Rev 4482
Line 34... Line 34...
34
 
34
 
35
#ifndef LIBC_VFS_H_
35
#ifndef LIBC_VFS_H_
36
#define LIBC_VFS_H_
36
#define LIBC_VFS_H_
37
 
37
 
38
#include <sys/types.h>
38
#include <sys/types.h>
-
 
39
#include <ipc/vfs.h>
-
 
40
#include <ipc/devmap.h>
-
 
41
#include <stdio.h>
-
 
42
 
-
 
43
typedef struct {
-
 
44
    fs_handle_t fs_handle;
-
 
45
    dev_handle_t dev_handle;
-
 
46
    fs_index_t index;
-
 
47
} fs_node_t;
39
 
48
 
40
extern char *absolutize(const char *, size_t *);
49
extern char *absolutize(const char *, size_t *);
41
 
50
 
42
extern int mount(const char *, const char *, const char *, const char *,
51
extern int mount(const char *, const char *, const char *, const char *,
43
    unsigned int flags);
52
    unsigned int flags);
44
 
53
 
-
 
54
extern int open_node(fs_node_t *node, int oflag);
-
 
55
extern int fd_phone(int);
-
 
56
extern void fd_node(int, fs_node_t *);
-
 
57
 
-
 
58
extern FILE *fopen_node(fs_node_t *node, const char *);
-
 
59
extern int fphone(FILE *);
-
 
60
extern void fnode(FILE *stream, fs_node_t *node);
-
 
61
 
45
#endif
62
#endif
46
 
63
 
47
/** @}
64
/** @}
48
 */
65
 */