minix/minix/lib/libvtreefs/table.c
David van Moolenbroek 5eefd0fec2 libvtreefs: API changes/extensions, part 1
- move primary I/O buffer into vtreefs; change read hook API;
- add hooks for write, truncate, symlink, mknod, unlink, chmod/chown;
- modernize message_hook;
- change procfs, devman, gpio accordingly;

Change-Id: I9f0669e41195efa3253032e95d93f0a78e9d68d6
2014-11-12 12:13:38 +00:00

25 lines
558 B
C

/* VTreeFS - table.c - file system driver callback table */
#define _TABLE
#include "inc.h"
struct fsdriver vtreefs_table = {
.fdr_mount = fs_mount,
.fdr_unmount = fs_unmount,
.fdr_lookup = fs_lookup,
.fdr_putnode = fs_putnode,
.fdr_read = fs_read,
.fdr_write = fs_write,
.fdr_getdents = fs_getdents,
.fdr_trunc = fs_trunc,
.fdr_mknod = fs_mknod,
.fdr_unlink = fs_unlink,
.fdr_slink = fs_slink,
.fdr_rdlink = fs_rdlink,
.fdr_stat = fs_stat,
.fdr_chmod = fs_chmod,
.fdr_chown = fs_chown,
.fdr_statvfs = fs_statvfs,
.fdr_other = fs_other
};