aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_db.h
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2010-11-16 16:26:43 -0600
committerPeter Seebach <peter.seebach@windriver.com>2010-11-17 17:13:43 -0600
commit6e8488d1595169cca9b2c85e6f41e74f1110534e (patch)
tree9ff282a564d476c89d0b4aac01c212f30908c6fe /pseudo_db.h
parentbed310f949c863d97e7143cee458cf07fe12666c (diff)
downloadpseudo-6e8488d1595169cca9b2c85e6f41e74f1110534e.tar.gz
pseudo-6e8488d1595169cca9b2c85e6f41e74f1110534e.tar.bz2
pseudo-6e8488d1595169cca9b2c85e6f41e74f1110534e.zip
First pass of some cleanups -- support moving a tracked directory from
one device to another, for instance.
Diffstat (limited to 'pseudo_db.h')
-rw-r--r--pseudo_db.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pseudo_db.h b/pseudo_db.h
index c9eb228..bd09c89 100644
--- a/pseudo_db.h
+++ b/pseudo_db.h
@@ -38,9 +38,10 @@ typedef struct {
} log_entry;
extern int pdb_cancel_unlink_file(pseudo_msg_t *msg);
-extern int pdb_did_unlink_file(char *path);
+extern int pdb_did_unlink_file(char *path, int deleting);
+extern int pdb_did_unlink_files(int deleting);
extern int pdb_link_file(pseudo_msg_t *msg);
-extern int pdb_may_unlink_file(pseudo_msg_t *msg);
+extern int pdb_may_unlink_file(pseudo_msg_t *msg, int deleting);
extern int pdb_unlink_file(pseudo_msg_t *msg);
extern int pdb_unlink_file_dev(pseudo_msg_t *msg);
extern int pdb_update_file(pseudo_msg_t *msg);
@@ -48,6 +49,7 @@ extern int pdb_update_file_path(pseudo_msg_t *msg);
extern int pdb_update_inode(pseudo_msg_t *msg);
extern int pdb_unlink_contents(pseudo_msg_t *msg);
extern int pdb_rename_file(const char *oldpath, pseudo_msg_t *msg);
+extern int pdb_renumber_all(dev_t from, dev_t to);
extern int pdb_find_file_exact(pseudo_msg_t *msg);
extern int pdb_find_file_path(pseudo_msg_t *msg);
extern int pdb_find_file_dev(pseudo_msg_t *msg);