Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/vfs/vfs.h

    r47b7006 r4965357f  
    3838#include <sys/types.h>
    3939#include <ipc/vfs.h>
    40 #include <ipc/devmap.h>
     40#include <ipc/loc.h>
     41#include <adt/list.h>
    4142#include <stdio.h>
     43#include <async.h>
     44#include "vfs_mtab.h"
    4245
    43 /**
    44  * This type is a libc version of the VFS triplet.
    45  * It uniquely identifies a file system node within a file system instance.
    46  */
    47 typedef struct {
    48         fs_handle_t fs_handle;
    49         devmap_handle_t devmap_handle;
    50         fs_index_t index;
    51 } fdi_node_t;
     46enum vfs_change_state_type {
     47        VFS_PASS_HANDLE
     48};
    5249
    5350extern char *absolutize(const char *, size_t *);
    5451
    5552extern int mount(const char *, const char *, const char *, const char *,
    56     unsigned int);
     53    unsigned int, unsigned int);
    5754extern int unmount(const char *);
    5855
    59 extern int open_node(fdi_node_t *, int);
    60 extern int fd_phone(int);
    61 extern int fd_node(int, fdi_node_t *);
     56extern int fhandle(FILE *, int *);
    6257
    63 extern FILE *fopen_node(fdi_node_t *, const char *);
    64 extern int fphone(FILE *);
    65 extern int fnode(FILE *, fdi_node_t *);
     58extern int fd_wait(void);
     59extern int get_mtab_list(list_t *mtab_list);
     60
     61extern async_exch_t *vfs_exchange_begin(void);
     62extern void vfs_exchange_end(async_exch_t *);
    6663
    6764#endif
Note: See TracChangeset for help on using the changeset viewer.