Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs.h

    rffa2c8ef r852b801  
    2929/** @addtogroup fs
    3030 * @{
    31  */
     31 */ 
    3232
    3333#ifndef TMPFS_TMPFS_H_
    3434#define TMPFS_TMPFS_H_
    3535
     36#include <ipc/ipc.h>
    3637#include <libfs.h>
    3738#include <atomic.h>
     
    3940#include <bool.h>
    4041#include <adt/hash_table.h>
     42
     43#ifndef dprintf
     44#define dprintf(...)    printf(__VA_ARGS__)
     45#endif
    4146
    4247#define TMPFS_NODE(node)        ((node) ? (tmpfs_node_t *)(node)->data : NULL)
     
    6166        fs_node_t *bp;          /**< Back pointer to the FS node. */
    6267        fs_index_t index;       /**< TMPFS node index. */
    63         devmap_handle_t devmap_handle;/**< Device handle. */
     68        dev_handle_t dev_handle;/**< Device handle. */
    6469        link_t nh_link;         /**< Nodes hash table link. */
    6570        tmpfs_dentry_type_t type;
     
    7883extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *);
    7984extern void tmpfs_mount(ipc_callid_t, ipc_call_t *);
    80 extern void tmpfs_unmounted(ipc_callid_t, ipc_call_t *);
    81 extern void tmpfs_unmount(ipc_callid_t, ipc_call_t *);
    8285extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *);
    8386extern void tmpfs_read(ipc_callid_t, ipc_call_t *);
     
    9093extern void tmpfs_sync(ipc_callid_t, ipc_call_t *);
    9194
    92 extern bool tmpfs_restore(devmap_handle_t);
     95extern bool tmpfs_restore(dev_handle_t);
    9396
    9497#endif
Note: See TracChangeset for help on using the changeset viewer.