summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-07-21 16:02:48 -0400
committerEudyptula <eitan@mosenkis.net>2009-07-21 16:02:48 -0400
commit34b01fa4d3614698ac2b1af74a7f56b986fd97c4 (patch)
treec85a7c34256db034a676c683875a405a361bca9b /lib/bkisofs/bkPath.h
parentFixes/hacks so backend still works with non-execution logging (diff)
downloadingenue-34b01fa4d3614698ac2b1af74a7f56b986fd97c4.tar.gz
ingenue-34b01fa4d3614698ac2b1af74a7f56b986fd97c4.tar.bz2
ingenue-34b01fa4d3614698ac2b1af74a7f56b986fd97c4.zip
Added bkisofs ISO manipulation library and wrote CLI wrapper for it
Diffstat (limited to 'lib/bkisofs/bkPath.h')
-rw-r--r--lib/bkisofs/bkPath.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/bkisofs/bkPath.h b/lib/bkisofs/bkPath.h
new file mode 100644
index 0000000..8cf06d4
--- /dev/null
+++ b/lib/bkisofs/bkPath.h
@@ -0,0 +1,16 @@
+#ifndef bkPath_h
+#define bkPath_h
+
+#include "bkInternal.h"
+
+bool findDirByNewPath(const NewPath* path, BkDir* tree, BkDir** dir);
+bool findBaseByNewPath(NewPath* path, BkDir* tree, BkFileBase** base);
+void freeDirToWriteContents(DirToWrite* dir);
+void freePathContents(NewPath* path);
+int getLastNameFromPath(const char* srcPathAndName, char* lastName);
+int makeNewPathFromString(const char* strPath, NewPath* pathPath);
+bool nameIsValid(const char* name);
+bool nameIsValid9660(const char* name);
+void printDirToWrite(DirToWrite* dir, int level, int filenameTypes);
+
+#endif