Changeset bd5f3b7 in mainline for uspace/srv/vfs/vfs.h


Ignore:
Timestamp:
2011-08-21T13:07:35Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
00aece0, f1a9e87
Parents:
86a34d3e (diff), a6480d5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    r86a34d3e rbd5f3b7  
    3838#include <fibril_synch.h>
    3939#include <sys/types.h>
    40 #include <devmap.h>
     40#include <loc.h>
    4141#include <bool.h>
    4242#include <ipc/vfs.h>
     43#include <task.h>
    4344
    4445#ifndef dprintf
     
    6162#define VFS_PAIR \
    6263        fs_handle_t fs_handle; \
    63         devmap_handle_t devmap_handle;
     64        service_id_t service_id;
    6465
    6566/**
     
    6768 * doesn't contain any state. For a stateful structure, see vfs_node_t.
    6869 *
    69  * @note        fs_handle, devmap_handle and index are meant to be returned in one
     70 * @note        fs_handle, service_id and index are meant to be returned in one
    7071 *              IPC reply.
    7172 */
     
    175176extern int vfs_lookup_internal(char *, int, vfs_lookup_res_t *,
    176177    vfs_pair_t *, ...);
    177 extern int vfs_open_node_internal(vfs_lookup_res_t *);
    178178
    179179extern bool vfs_nodes_init(void);
     
    181181extern void vfs_node_put(vfs_node_t *);
    182182extern void vfs_node_forget(vfs_node_t *);
    183 extern unsigned vfs_nodes_refcount_sum_get(fs_handle_t, devmap_handle_t);
     183extern unsigned vfs_nodes_refcount_sum_get(fs_handle_t, service_id_t);
    184184
    185185
     
    188188extern void *vfs_client_data_create(void);
    189189extern void vfs_client_data_destroy(void *);
     190
     191extern void vfs_pass_handle(task_id_t, task_id_t, int);
     192extern int vfs_wait_handle_internal(void);
    190193
    191194extern vfs_file_t *vfs_file_get(int);
     
    197200extern void vfs_node_addref(vfs_node_t *);
    198201extern void vfs_node_delref(vfs_node_t *);
     202extern int vfs_open_node_remote(vfs_node_t *);
    199203
    200204extern void vfs_register(ipc_callid_t, ipc_call_t *);
     
    202206extern void vfs_unmount(ipc_callid_t, ipc_call_t *);
    203207extern void vfs_open(ipc_callid_t, ipc_call_t *);
    204 extern void vfs_open_node(ipc_callid_t, ipc_call_t *);
    205208extern void vfs_sync(ipc_callid_t, ipc_call_t *);
    206209extern void vfs_dup(ipc_callid_t, ipc_call_t *);
     
    215218extern void vfs_unlink(ipc_callid_t, ipc_call_t *);
    216219extern void vfs_rename(ipc_callid_t, ipc_call_t *);
     220extern void vfs_wait_handle(ipc_callid_t, ipc_call_t *);
    217221
    218222#endif
Note: See TracChangeset for help on using the changeset viewer.