mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
connect getattr and readdir to hashtbl
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#ifndef _MFFUSE_HASHTBL_H_
|
||||
#define _MFFUSE_HASHTBL_H_
|
||||
|
||||
#include <fuse/fuse.h>
|
||||
|
||||
#include "../mfapi/mfconn.h"
|
||||
|
||||
typedef struct folder_tree folder_tree;
|
||||
@@ -35,4 +37,10 @@ void folder_tree_housekeep(folder_tree * tree);
|
||||
void folder_tree_debug(folder_tree * tree, h_entry * ent,
|
||||
int depth);
|
||||
|
||||
int folder_tree_getattr(folder_tree * tree, const char *path,
|
||||
struct stat *stbuf);
|
||||
|
||||
int folder_tree_readdir(folder_tree * tree, const char *path,
|
||||
void *buf, fuse_fill_dir_t filldir);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user