Changeset b14d9f9 in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2017-05-05T17:37:36Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
951f6b9e
Parents:
75b24cd
Message:

Mount should be able to print the list of available file system types.

Location:
uspace/lib/c/include
Files:
3 edited

Legend:

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

    r75b24cd rb14d9f9  
    5555#define EMLINK        (-267)
    5656#define ENXIO         (-268)
     57#define ENOFS         (-269)
    5758
    5859/** Bad checksum. */
  • uspace/lib/c/include/ipc/vfs.h

    r75b24cd rb14d9f9  
    6464typedef enum {
    6565        VFS_IN_CLONE = IPC_FIRST_USER_METHOD,
     66        VFS_IN_FSTYPES,
    6667        VFS_IN_MOUNT,
    6768        VFS_IN_OPEN,
  • uspace/lib/c/include/vfs/vfs.h

    r75b24cd rb14d9f9  
    7373};
    7474
     75/** List of file system types */
     76typedef struct {
     77        char **fstypes;
     78        char *buf;
     79        size_t size;
     80} vfs_fstypes_t;
     81
    7582extern int vfs_fhandle(FILE *, int *);
    7683
     
    8188extern async_exch_t *vfs_exchange_begin(void);
    8289extern void vfs_exchange_end(async_exch_t *);
     90extern int vfs_fstypes(vfs_fstypes_t *);
     91extern void vfs_fstypes_free(vfs_fstypes_t *);
    8392extern int vfs_link(int, const char *, vfs_file_kind_t, int *);
    8493extern int vfs_link_path(const char *, vfs_file_kind_t, int *);
Note: See TracChangeset for help on using the changeset viewer.