libfs.c File Reference

Glue code which is common to all FS implementations. More...

#include "libfs.h"
#include "../../srv/vfs/vfs.h"
#include <macros.h>
#include <errno.h>
#include <async.h>
#include <as.h>
#include <assert.h>
#include <dirent.h>
#include <mem.h>
#include <sys/stat.h>

Go to the source code of this file.

Defines

#define answer_and_return(rid, rc)
#define combine_rc(rc1, rc2)   ((rc1) == EOK ? (rc2) : (rc1))
#define on_error(rc, action)

Functions

void fs_node_initialize (fs_node_t *fn)
int fs_register (int vfs_phone, fs_reg_t *reg, vfs_info_t *info, async_client_conn_t conn)
 Register file system server.
void libfs_lookup (libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, ipc_call_t *request)
 Lookup VFS triplet by name in the file system name space.
void libfs_mount (libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, ipc_call_t *request)
void libfs_open_node (libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, ipc_call_t *request)
 Open VFS triplet.
void libfs_stat (libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, ipc_call_t *request)
void libfs_unmount (libfs_ops_t *ops, ipc_callid_t rid, ipc_call_t *request)


Detailed Description

Glue code which is common to all FS implementations.

Definition in file libfs.c.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7