From 0e4c55c3fb0900e6ab54ea64edb5a6f371deebbc Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 8 Feb 2013 08:03:02 +0100 Subject: libfuse: remove deprecated fuse_operations.getdir() --- include/fuse.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index fe8a331..dfad371 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -51,11 +51,6 @@ struct fuse_cmd; typedef int (*fuse_fill_dir_t) (void *buf, const char *name, const struct stat *stbuf, off_t off); -/* Used by deprecated getdir() method */ -typedef struct fuse_dirhandle *fuse_dirh_t; -typedef int (*fuse_dirfil_t) (fuse_dirh_t h, const char *name, int type, - ino_t ino); - /** * The file system operations: * @@ -121,9 +116,6 @@ struct fuse_operations { */ int (*readlink) (const char *, char *, size_t); - /* Deprecated, use readdir() instead */ - int (*getdir) (const char *, fuse_dirh_t, fuse_dirfil_t); - /** Create a file node * * This is called for creation of all non-directory, non-symlink @@ -298,17 +290,13 @@ struct fuse_operations { int (*opendir) (const char *, struct fuse_file_info *); /** Read directory - * - * This supersedes the old getdir() interface. New applications - * should use this. * * The filesystem may choose between two modes of operation: * * 1) The readdir implementation ignores the offset parameter, and * passes zero to the filler function's offset. The filler * function will not return '1' (unless an error happens), so the - * whole directory is read in a single readdir operation. This - * works just like the old getdir() method. + * whole directory is read in a single readdir operation. * * 2) The readdir implementation keeps track of the offsets of the * directory entries. It uses the offset parameter and always -- cgit v1.2.3