X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=lib%2Fdiskimage.mli;h=ee9545371c2c36186843ac21802375c51058264b;hb=HEAD;hp=cf39e91d1c87f6d03c0789a3f686a55ae69167b6;hpb=c4c7f4c73a94788e8fe193153046e3ca2b6adfcf;p=virt-df.git diff --git a/lib/diskimage.mli b/lib/diskimage.mli index cf39e91..ee95453 100644 --- a/lib/diskimage.mli +++ b/lib/diskimage.mli @@ -48,9 +48,9 @@ class virtual device : Note: A default implementation is provided for [read], but it is fairly inefficient because it uses {!map_block} to map each block in the request. *) - method read_bitstring : Int63.t -> Int63.t -> Bitmatch.bitstring + method read_bitstring : Int63.t -> Int63.t -> Bitstring.bitstring (** [read_bitstring] is the same as [read] but returns - a pa_bitmatch-style bitstring. *) + a pa_bitstring-style bitstring. *) method virtual blocksize : Int63.t (** [blocksize] returns the natural block size of the device. *) @@ -91,7 +91,7 @@ class block_device : string -> Int63.t -> method name : string method size : Int63.t method read : Int63.t -> Int63.t -> string - method read_bitstring : Int63.t -> Int63.t -> Bitmatch.bitstring + method read_bitstring : Int63.t -> Int63.t -> Bitstring.bitstring method blocksize : Int63.t method map_block : Int63.t -> (device * Int63.t) list method contiguous : Int63.t -> Int63.t @@ -109,7 +109,7 @@ class offset_device : string -> Int63.t -> Int63.t -> Int63.t -> device -> method name : string method size : Int63.t method read : Int63.t -> Int63.t -> string - method read_bitstring : Int63.t -> Int63.t -> Bitmatch.bitstring + method read_bitstring : Int63.t -> Int63.t -> Bitstring.bitstring method blocksize : Int63.t method map_block : Int63.t -> (device * Int63.t) list method contiguous : Int63.t -> Int63.t @@ -129,7 +129,7 @@ class blocksize_overlay : Int63.t -> device -> method name : string method size : Int63.t method read : Int63.t -> Int63.t -> string - method read_bitstring : Int63.t -> Int63.t -> Bitmatch.bitstring + method read_bitstring : Int63.t -> Int63.t -> Bitstring.bitstring method blocksize : Int63.t method contiguous : Int63.t -> Int63.t method map_block : Int63.t -> (device * Int63.t) list