1 2 typedef struct dentry *hwgfs_handle_t; 3 4 extern hwgfs_handle_t hwgfs_register(hwgfs_handle_t dir, const char *name, 5 unsigned int flags, 6 unsigned int major, unsigned int minor, 7 umode_t mode, void *ops, void *info); 8 extern int hwgfs_mk_symlink(hwgfs_handle_t dir, const char *name, 9 unsigned int flags, const char *link, 10 hwgfs_handle_t *handle, void *info); 11 extern hwgfs_handle_t hwgfs_mk_dir(hwgfs_handle_t dir, const char *name, 12 void *info); 13 extern void hwgfs_unregister(hwgfs_handle_t de); 14 15 extern hwgfs_handle_t hwgfs_find_handle(hwgfs_handle_t dir, const char *name, 16 unsigned int major,unsigned int minor, 17 char type, int traverse_symlinks); 18 extern hwgfs_handle_t hwgfs_get_parent(hwgfs_handle_t de); 19 extern int hwgfs_generate_path(hwgfs_handle_t de, char *path, int buflen); 20 21 extern void *hwgfs_get_info(hwgfs_handle_t de); 22 extern int hwgfs_set_info(hwgfs_handle_t de, void *info); 23 24