Philippe Mathieu-Daudé | 5d3586b | 2020-04-14 15:30:42 +0200 | [diff] [blame] | 1 | /* |
| 2 | * QEMU Guest Agent common/cross-platform common commands |
| 3 | * |
| 4 | * Copyright (c) 2020 Red Hat, Inc. |
| 5 | * |
| 6 | * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| 7 | * See the COPYING file in the top-level directory. |
| 8 | */ |
| 9 | #ifndef QGA_COMMANDS_COMMON_H |
| 10 | #define QGA_COMMANDS_COMMON_H |
| 11 | |
| 12 | #include "qga-qapi-types.h" |
| 13 | |
| 14 | typedef struct GuestFileHandle GuestFileHandle; |
| 15 | |
| 16 | GuestFileHandle *guest_file_handle_find(int64_t id, Error **errp); |
| 17 | |
Philippe Mathieu-Daudé | ead83a1 | 2020-04-14 15:30:43 +0200 | [diff] [blame] | 18 | GuestFileRead *guest_file_read_unsafe(GuestFileHandle *gfh, |
| 19 | int64_t count, Error **errp); |
| 20 | |
Philippe Mathieu-Daudé | 5d3586b | 2020-04-14 15:30:42 +0200 | [diff] [blame] | 21 | #endif |