Changeset 866e627 in mainline


Ignore:
Timestamp:
2011-08-17T20:34:35Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7171760
Parents:
df02460
Message:

Export vfs_exchange_begin() and vfs_exchange_end().

Location:
uspace/lib/c
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vfs/vfs.c

    rdf02460 r866e627  
    6969 *
    7070 */
    71 static async_exch_t *vfs_exchange_begin(void)
     71async_exch_t *vfs_exchange_begin(void)
    7272{
    7373        fibril_mutex_lock(&vfs_mutex);
     
    8787 *
    8888 */
    89 static void vfs_exchange_end(async_exch_t *exch)
     89void vfs_exchange_end(async_exch_t *exch)
    9090{
    9191        async_exchange_end(exch);
  • uspace/lib/c/include/loader/loader.h

    rdf02460 r866e627  
    3838
    3939#include <task.h>
    40 #include <vfs/vfs.h>
     40
     41typedef struct fdi_node fdi_node_t;
    4142
    4243/** Forward declararion */
  • uspace/lib/c/include/task.h

    rdf02460 r866e627  
    3737
    3838#include <sys/types.h>
    39 #include <vfs/vfs.h>
     39
     40typedef struct fdi_node fdi_node_t;
    4041
    4142typedef uint64_t task_id_t;
  • uspace/lib/c/include/vfs/vfs.h

    rdf02460 r866e627  
    4040#include <ipc/devmap.h>
    4141#include <stdio.h>
     42#include <async.h>
    4243
    4344enum vfs_change_state_type {
     
    5152 *
    5253 */
    53 typedef struct {
     54typedef struct fdi_node {
    5455        fs_handle_t fs_handle;
    5556        devmap_handle_t devmap_handle;
     
    6970extern int fnode(FILE *, fdi_node_t *);
    7071
     72extern async_exch_t *vfs_exchange_begin(void);
     73extern void vfs_exchange_end(async_exch_t *);
     74
    7175#endif
    7276
Note: See TracChangeset for help on using the changeset viewer.