| author | Tero Marttila <terom@fixme.fi> |
| Fri, 17 Oct 2008 16:09:35 +0300 | |
| changeset 32 | 90e14e0df133 |
| parent 31 | 7804cd7b5cd5 |
| child 33 | c71f3053c714 |
| permissions | -rw-r--r-- |
|
28
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
1 |
#ifndef DBFS_OPS_H |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
2 |
#define DBFS_OPS_H |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
3 |
|
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
4 |
#include "../evfuse.h" |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
5 |
|
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
6 |
/* dbfs.c */ |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
7 |
void dbfs_init (void *userdata, struct fuse_conn_info *conn); |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
8 |
void dbfs_destroy (void *arg); |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
9 |
|
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
10 |
/* core.c */ |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
11 |
void dbfs_lookup (struct fuse_req *req, fuse_ino_t parent, const char *name); |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
12 |
|
| 32 | 13 |
/* attr.c */ |
14 |
void dbfs_getattr (struct fuse_req *req, fuse_ino_t ino, struct fuse_file_info *fi); |
|
| 31 | 15 |
void dbfs_setattr(struct fuse_req *req, fuse_ino_t ino, struct stat *attr, int to_set, struct fuse_file_info *fi); |
16 |
||
| 32 | 17 |
/* symlink.c */ |
18 |
void dbfs_readlink (struct fuse_req *req, fuse_ino_t ino); |
|
19 |
||
|
28
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
20 |
/* dirop.c */ |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
21 |
void dbfs_opendir (struct fuse_req *req, fuse_ino_t ino, struct fuse_file_info *fi); |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
22 |
void dbfs_readdir (struct fuse_req *req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi); |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
23 |
void dbfs_releasedir (struct fuse_req *req, fuse_ino_t ino, struct fuse_file_info *fi); |
|
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
24 |
|
|
30
d8fabd347a8e
working open+read+flush+release
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
25 |
/* fileop.c */ |
|
d8fabd347a8e
working open+read+flush+release
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
26 |
void dbfs_open (struct fuse_req *req, fuse_ino_t ino, struct fuse_file_info *fi); |
|
d8fabd347a8e
working open+read+flush+release
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
27 |
void dbfs_read (struct fuse_req *req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi); |
| 31 | 28 |
void dbfs_write (struct fuse_req *req, fuse_ino_t ino, const char *buf, size_t size, off_t off, struct fuse_file_info *fi); |
|
30
d8fabd347a8e
working open+read+flush+release
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
29 |
void dbfs_flush (struct fuse_req *req, fuse_ino_t ino, struct fuse_file_info *fi); |
|
d8fabd347a8e
working open+read+flush+release
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
30 |
void dbfs_release (struct fuse_req *req, fuse_ino_t ino, struct fuse_file_info *fi); |
|
d8fabd347a8e
working open+read+flush+release
Tero Marttila <terom@fixme.fi>
parents:
28
diff
changeset
|
31 |
|
|
28
e944453ca924
split off dbfs components into a separate dir, improve dirop docs, error handling, etc
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
32 |
#endif /* DBFS_OPS_H */ |