Subversion Repositories HelenOS

Rev

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

Rev 2792 Rev 2831
Line 41... Line 41...
41
#include <ipc/ipc.h>
41
#include <ipc/ipc.h>
42
#include <async.h>
42
#include <async.h>
43
 
43
 
44
typedef struct {
44
typedef struct {
45
    void * (* match)(void *, const char *);
45
    void * (* match)(void *, const char *);
46
    void * (* node_get)(dev_handle_t, fs_index_t);
46
    void * (* node_get)(dev_handle_t, fs_index_t, fs_index_t);
47
    void * (* create)(int);
47
    void * (* create)(int);
48
    void (* destroy)(void *);
48
    void (* destroy)(void *);
49
    bool (* link)(void *, void *, const char *);
49
    bool (* link)(void *, void *, const char *);
50
    int (* unlink)(void *, void *);
50
    int (* unlink)(void *, void *);
51
    fs_index_t (* index_get)(void *);
51
    fs_index_t (* index_get)(void *);
Line 64... Line 64...
64
    uint8_t *plb_ro;    /**< Read-only PLB view. */
64
    uint8_t *plb_ro;    /**< Read-only PLB view. */
65
} fs_reg_t;
65
} fs_reg_t;
66
 
66
 
67
extern int fs_register(int, fs_reg_t *, vfs_info_t *, async_client_conn_t);
67
extern int fs_register(int, fs_reg_t *, vfs_info_t *, async_client_conn_t);
68
 
68
 
69
extern int block_read(int, unsigned long, void *);
-
 
70
extern int block_write(int, unsigned long, void *);
-
 
71
 
-
 
72
extern void node_add_mp(int, unsigned long);
-
 
73
extern void node_del_mp(int, unsigned long);
-
 
74
extern bool node_is_mp(int, unsigned long);
-
 
75
 
-
 
76
extern void libfs_lookup(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *);
69
extern void libfs_lookup(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *);
77
 
70
 
78
#endif
71
#endif
79
 
72
 
80
/** @}
73
/** @}