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.


Extended keyed stream interface to include preallocation
[palacios.git] / palacios / src / interfaces / vmm_keyed_stream.c
index 4ba376b..79d69ac 100644 (file)
@@ -46,6 +46,14 @@ void                  v3_keyed_stream_close(v3_keyed_stream_t stream)
 }
 
 
+void v3_keyed_stream_preallocate_hint_key(v3_keyed_stream_t stream, char *key, uint64_t size)
+{
+    V3_ASSERT(keyed_stream_hooks != NULL);
+    V3_ASSERT(keyed_stream_hooks->preallocate_hint_key != NULL);
+
+    return keyed_stream_hooks->preallocate_hint_key(stream,key,size);
+}
+
 v3_keyed_stream_key_t v3_keyed_stream_open_key(v3_keyed_stream_t stream, char *key)
 {
     V3_ASSERT(keyed_stream_hooks != NULL);