~ubuntu-branches/debian/squeeze/sshfs-fuse/squeeze

« back to all changes in this revision

Viewing changes to cache.h

  • Committer: Bazaar Package Importer
  • Author(s): Bartosz Fenski
  • Date: 2006-02-03 14:10:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060203141051-1z0xaw6rrw4iv0ee
Tags: 1.6-1
* New upstream release.
  - fixes problem with saving files from GNOME apps. (Closes: #338496)
  - adds workaround for overwriting files. (Closes: #318078, #353968)
* Does not suggests module that does not exist. (Closes: #334513)
  - added README.Debian file with explanation how to get such module.
* README file now explains usage correctly. (Closes: #341490)
* Fixes typo in manual page. (Closes: #323496)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
*/
8
8
 
9
9
#include <fuse.h>
 
10
#include <fuse_opt.h>
 
11
 
 
12
#ifndef FUSE_VERSION
 
13
#define FUSE_VERSION (FUSE_MAJOR_VERSION * 10 + FUSE_MINOR_VERSION)
 
14
#endif
10
15
 
11
16
typedef struct fuse_cache_dirhandle *fuse_cache_dirh_t;
12
17
typedef int (*fuse_cache_dirfil_t) (fuse_cache_dirh_t h, const char *name,
15
20
struct fuse_cache_operations {
16
21
    struct fuse_operations oper;
17
22
    int (*cache_getdir) (const char *, fuse_cache_dirh_t, fuse_cache_dirfil_t);
18
 
    
19
23
};
20
24
 
21
25
struct fuse_operations *cache_init(struct fuse_cache_operations *oper);
22
 
int cache_parse_options(int *argcp, char *argv[]);
 
26
int cache_parse_options(struct fuse_args *args);
 
27
void cache_add_attr(const char *path, const struct stat *stbuf);
 
28
void cache_invalidate(const char *path);