Ignore:
File:
1 edited

Legend:

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

    r76d6169 r79ae36dd  
    4040#include <ipc/devmap.h>
    4141#include <stdio.h>
    42 #include <async.h>
    4342
    44 enum vfs_change_state_type {
    45         VFS_PASS_HANDLE
    46 };
     43/** Libc version of the VFS triplet.
     44 *
     45 * Unique identification of a file system node
     46 * within a file system instance.
     47 *
     48 */
     49typedef struct {
     50        fs_handle_t fs_handle;
     51        devmap_handle_t devmap_handle;
     52        fs_index_t index;
     53} fdi_node_t;
    4754
    4855extern char *absolutize(const char *, size_t *);
     
    5259extern int unmount(const char *);
    5360
    54 extern int fhandle(FILE *, int *);
     61extern int open_node(fdi_node_t *, int);
     62extern int fd_node(int, fdi_node_t *);
    5563
    56 extern int fd_wait(void);
    57 
    58 extern async_exch_t *vfs_exchange_begin(void);
    59 extern void vfs_exchange_end(async_exch_t *);
     64extern FILE *fopen_node(fdi_node_t *, const char *);
     65extern int fnode(FILE *, fdi_node_t *);
    6066
    6167#endif
Note: See TracChangeset for help on using the changeset viewer.