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.


nbd server updates
[palacios.git] / misc / network_servers / v3_nbd / v3_disk.h
index 9b7ce17..ba0d8b8 100644 (file)
@@ -32,8 +32,8 @@ class v3_disk {
     virtual ~v3_disk();
 
     virtual off_t get_capacity()=0;
-    virtual int read(unsigned char * buf, unsigned long long offset, int length)=0;
-    virtual int write(unsigned char * buf, unsigned long long offset, int length)=0;
+    virtual unsigned int read(unsigned char * buf, off_t offset, int length)=0;
+    virtual unsigned int write(unsigned char * buf, off_t offset, int length)=0;
 
     virtual void attach()=0;
     virtual void detach()=0;