~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to buffered_file.h

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno, Aurelien Jarno
  • Date: 2009-03-22 10:13:17 UTC
  • mfrom: (1.2.1 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090322101317-iigjtnu5qil35dtb
Tags: 0.10.1-1
[ Aurelien Jarno ]
* New upstream stable release:
  - patches/80_stable-branch.patch: remove.
* debian/control: 
  - Remove depends on proll.
  - Move depends on device-tree-compiler to build-depends.
  - Bump Standards-Version to 3.8.1 (no changes).
* patches/82_qemu-img_decimal.patch: new patch from upstream to make
  qemu-img accept sizes with decimal values (closes: bug#501400).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * QEMU buffered QEMUFile
 
3
 *
 
4
 * Copyright IBM, Corp. 2008
 
5
 *
 
6
 * Authors:
 
7
 *  Anthony Liguori   <aliguori@us.ibm.com>
 
8
 *
 
9
 * This work is licensed under the terms of the GNU GPL, version 2.  See
 
10
 * the COPYING file in the top-level directory.
 
11
 *
 
12
 */
 
13
 
 
14
#ifndef QEMU_BUFFERED_FILE_H
 
15
#define QEMU_BUFFERED_FILE_H
 
16
 
 
17
#include "hw/hw.h"
 
18
 
 
19
typedef ssize_t (BufferedPutFunc)(void *opaque, const void *data, size_t size);
 
20
typedef void (BufferedPutReadyFunc)(void *opaque);
 
21
typedef void (BufferedWaitForUnfreezeFunc)(void *opaque);
 
22
typedef int (BufferedCloseFunc)(void *opaque);
 
23
 
 
24
QEMUFile *qemu_fopen_ops_buffered(void *opaque, size_t xfer_limit,
 
25
                                  BufferedPutFunc *put_buffer,
 
26
                                  BufferedPutReadyFunc *put_ready,
 
27
                                  BufferedWaitForUnfreezeFunc *wait_for_unfreeze,
 
28
                                  BufferedCloseFunc *close);
 
29
 
 
30
#endif