]>
Commit | Line | Data |
---|---|---|
bc62fa03 MR |
1 | /* |
2 | * QEMU Guest Agent helpers for win32 service management | |
3 | * | |
4 | * Copyright IBM Corp. 2012 | |
5 | * | |
6 | * Authors: | |
7 | * Gal Hammer <[email protected]> | |
8 | * Michael Roth <[email protected]> | |
9 | * | |
10 | * This work is licensed under the terms of the GNU GPL, version 2 or later. | |
11 | * See the COPYING file in the top-level directory. | |
12 | */ | |
121d0712 MA |
13 | |
14 | #ifndef QGA_SERVICE_WIN32_H | |
15 | #define QGA_SERVICE_WIN32_H | |
bc62fa03 MR |
16 | |
17 | #include <windows.h> | |
18 | ||
19 | #define QGA_SERVICE_DISPLAY_NAME "QEMU Guest Agent" | |
20 | #define QGA_SERVICE_NAME "qemu-ga" | |
21 | #define QGA_SERVICE_DESCRIPTION "Enables integration with QEMU machine emulator and virtualizer." | |
22 | ||
23 | typedef struct GAService { | |
24 | SERVICE_STATUS status; | |
25 | SERVICE_STATUS_HANDLE status_handle; | |
26 | } GAService; | |
27 | ||
a839ee77 LE |
28 | int ga_install_service(const char *path, const char *logfile, |
29 | const char *state_dir); | |
bc62fa03 MR |
30 | int ga_uninstall_service(void); |
31 | ||
32 | #endif |