2020-04-14 13:30:42 +00:00
|
|
|
/*
|
|
|
|
* QEMU Guest Agent common/cross-platform common commands
|
|
|
|
*
|
|
|
|
* Copyright (c) 2020 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
|
|
|
*/
|
|
|
|
#ifndef QGA_COMMANDS_COMMON_H
|
|
|
|
#define QGA_COMMANDS_COMMON_H
|
|
|
|
|
|
|
|
#include "qga-qapi-types.h"
|
|
|
|
|
|
|
|
typedef struct GuestFileHandle GuestFileHandle;
|
|
|
|
|
|
|
|
GuestFileHandle *guest_file_handle_find(int64_t id, Error **errp);
|
|
|
|
|
2020-04-14 13:30:43 +00:00
|
|
|
GuestFileRead *guest_file_read_unsafe(GuestFileHandle *gfh,
|
|
|
|
int64_t count, Error **errp);
|
|
|
|
|
2020-04-14 13:30:42 +00:00
|
|
|
#endif
|