Changeset 796c276 in mainline for uspace/srv/fs/ext2fs/ext2fs.h


Ignore:
Timestamp:
2011-03-03T20:12:36Z (14 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
163cf12
Parents:
9ffbdf1
Message:

Renamed ext2 server to ext2fs so its namespace won't collide with libext2. (+Small bits of other code in ext2fs server)

File:
1 moved

Legend:

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

    r9ffbdf1 r796c276  
    3131 */
    3232
    33 #ifndef EXT2_EXT2_H_
    34 #define EXT2_EXT2_H_
     33#ifndef EXT2FS_EXT2FS_H_
     34#define EXT2FS_EXT2FS_H_
    3535
    3636#include <libext2.h>
     
    4848#define min(a, b)               ((a) < (b) ? (a) : (b))
    4949
    50 extern fs_reg_t ext2_reg;
     50extern fs_reg_t ext2fs_reg;
    5151
    52 extern void ext2_mounted(ipc_callid_t, ipc_call_t *);
    53 extern void ext2_mount(ipc_callid_t, ipc_call_t *);
    54 extern void ext2_unmounted(ipc_callid_t, ipc_call_t *);
    55 extern void ext2_unmount(ipc_callid_t, ipc_call_t *);
    56 extern void ext2_lookup(ipc_callid_t, ipc_call_t *);
    57 extern void ext2_read(ipc_callid_t, ipc_call_t *);
    58 extern void ext2_write(ipc_callid_t, ipc_call_t *);
    59 extern void ext2_truncate(ipc_callid_t, ipc_call_t *);
    60 extern void ext2_stat(ipc_callid_t, ipc_call_t *);
    61 extern void ext2_close(ipc_callid_t, ipc_call_t *);
    62 extern void ext2_destroy(ipc_callid_t, ipc_call_t *);
    63 extern void ext2_open_node(ipc_callid_t, ipc_call_t *);
    64 extern void ext2_stat(ipc_callid_t, ipc_call_t *);
    65 extern void ext2_sync(ipc_callid_t, ipc_call_t *);
     52extern int ext2fs_global_init(void);
     53extern void ext2fs_mounted(ipc_callid_t, ipc_call_t *);
     54extern void ext2fs_mount(ipc_callid_t, ipc_call_t *);
     55extern void ext2fs_unmounted(ipc_callid_t, ipc_call_t *);
     56extern void ext2fs_unmount(ipc_callid_t, ipc_call_t *);
     57extern void ext2fs_lookup(ipc_callid_t, ipc_call_t *);
     58extern void ext2fs_read(ipc_callid_t, ipc_call_t *);
     59extern void ext2fs_write(ipc_callid_t, ipc_call_t *);
     60extern void ext2fs_truncate(ipc_callid_t, ipc_call_t *);
     61extern void ext2fs_stat(ipc_callid_t, ipc_call_t *);
     62extern void ext2fs_close(ipc_callid_t, ipc_call_t *);
     63extern void ext2fs_destroy(ipc_callid_t, ipc_call_t *);
     64extern void ext2fs_open_node(ipc_callid_t, ipc_call_t *);
     65extern void ext2fs_stat(ipc_callid_t, ipc_call_t *);
     66extern void ext2fs_sync(ipc_callid_t, ipc_call_t *);
    6667
    6768#endif
Note: See TracChangeset for help on using the changeset viewer.