diff options
| author | Luiz Capitulino | 2012-05-10 21:50:41 +0200 |
|---|---|---|
| committer | Michael Roth | 2012-05-15 16:15:16 +0200 |
| commit | 04b4e75f33ae0775d70b8e33080f46d66275cdcc (patch) | |
| tree | d6ec33bf787cc012c9f85c6cdd07ac83f1ad6c44 /qga/guest-agent-core.h | |
| parent | qemu-ga: guest-suspend-hybrid: don't emit a success response (diff) | |
| download | qemu-04b4e75f33ae0775d70b8e33080f46d66275cdcc.tar.gz qemu-04b4e75f33ae0775d70b8e33080f46d66275cdcc.tar.xz qemu-04b4e75f33ae0775d70b8e33080f46d66275cdcc.zip | |
qemu-ga: make reopen_fd_to_null() public
The next commit wants to use it.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/guest-agent-core.h')
| -rw-r--r-- | qga/guest-agent-core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qga/guest-agent-core.h b/qga/guest-agent-core.h index bbb8b9b125..6dba10484d 100644 --- a/qga/guest-agent-core.h +++ b/qga/guest-agent-core.h @@ -35,3 +35,7 @@ void ga_set_response_delimited(GAState *s); bool ga_is_frozen(GAState *s); void ga_set_frozen(GAState *s); void ga_unset_frozen(GAState *s); + +#ifndef _WIN32 +void reopen_fd_to_null(int fd); +#endif |
