Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added directory creation to the file interface
[palacios.git] / palacios / src / interfaces / vmm_file.c
index c22267a..c4d3f28 100644 (file)
@@ -34,6 +34,13 @@ void V3_Init_File(struct v3_file_hooks * hooks) {
 }
 
 
+int v3_mkdir(char * path, uint16_t permissions, uint8_t recursive) {
+    V3_ASSERT(file_hooks);
+    V3_ASSERT(file_hooks->mkdir);
+    
+    return file_hooks->mkdir(path, permissions, recursive);
+}
+
 v3_file_t v3_file_open(struct v3_vm_info * vm, char * path, uint8_t mode) {
     void * priv_data = NULL;
     V3_ASSERT(file_hooks);