Changeset 99272a3 in mainline for uspace/lib/libc/include/vfs/vfs.h


Ignore:
Timestamp:
2009-06-04T10:12:23Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c8b9f88
Parents:
301ff30
Message:

inode_t → fdi_node_t

File:
1 edited

Legend:

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

    r301ff30 r99272a3  
    4141#include <stdio.h>
    4242
     43/**
     44 * This type is a libc version of the VFS triplet.
     45 * It uniquelly identifies a file system node within a file system instance.
     46 */
    4347typedef struct {
    4448        fs_handle_t fs_handle;
    4549        dev_handle_t dev_handle;
    4650        fs_index_t index;
    47 } inode_t;
     51} fdi_node_t;
    4852
    4953extern char *absolutize(const char *, size_t *);
    5054
    5155extern int mount(const char *, const char *, const char *, const char *,
    52     unsigned int flags);
     56    unsigned int);
    5357
    54 extern int open_node(inode_t *node, int oflag);
     58extern int open_node(fdi_node_t *, int);
    5559extern int fd_phone(int);
    56 extern void fd_node(int, inode_t *);
     60extern void fd_node(int, fdi_node_t *);
    5761
    58 extern FILE *fopen_node(inode_t *node, const char *);
     62extern FILE *fopen_node(fdi_node_t *, const char *);
    5963extern int fphone(FILE *);
    60 extern void fnode(FILE *stream, inode_t *node);
     64extern void fnode(FILE *, fdi_node_t *);
    6165
    6266#endif
Note: See TracChangeset for help on using the changeset viewer.