Changeset 83937ccd in mainline for uspace/lib/libfs/libfs.h


Ignore:
Timestamp:
2009-05-19T21:49:05Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
854c564
Parents:
27fd651
Message:

Rudimentary support for non-root mounts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libfs/libfs.h

    r27fd651 r83937ccd  
    11/*
    2  * Copyright (c) 2007 Jakub Jermar
     2 * Copyright (c) 2009 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    4343
    4444typedef struct {
    45         void *data;     /**< Data of the file system implementation. */
     45        bool mp_active;
     46        int phone;
     47        fs_handle_t fs_handle;
     48        dev_handle_t dev_handle;
     49} mp_data_t;
     50
     51typedef struct {
     52        mp_data_t mp_data;      /**< Mount point info. */
     53        void *data;             /**< Data of the file system implementation. */
    4654} fs_node_t;
    4755
     
    7280extern int fs_register(int, fs_reg_t *, vfs_info_t *, async_client_conn_t);
    7381
     82extern void fs_node_initialize(fs_node_t *);
     83
     84extern void libfs_mount(libfs_ops_t *, ipc_callid_t, ipc_call_t *);
    7485extern void libfs_lookup(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *);
    7586
Note: See TracChangeset for help on using the changeset viewer.