blob: 3b9e87024b19848edf055ecb2867ace674137afb [file] [log] [blame]
Michael Rothbc62fa02012-01-21 16:42:27 -06001/*
2 * QEMU Guest Agent helpers for win32 service management
3 *
4 * Copyright IBM Corp. 2012
5 *
6 * Authors:
7 * Gal Hammer <ghammer@redhat.com>
8 * Michael Roth <mdroth@linux.vnet.ibm.com>
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 */
13#ifndef QGA_SERVICE_H
14#define QGA_SERVICE_H
15
16#include <windows.h>
17
18#define QGA_SERVICE_DISPLAY_NAME "QEMU Guest Agent"
19#define QGA_SERVICE_NAME "qemu-ga"
20#define QGA_SERVICE_DESCRIPTION "Enables integration with QEMU machine emulator and virtualizer."
21
22typedef struct GAService {
23 SERVICE_STATUS status;
24 SERVICE_STATUS_HANDLE status_handle;
25} GAService;
26
Laszlo Erseka839ee72013-05-18 06:31:53 +020027int ga_install_service(const char *path, const char *logfile,
28 const char *state_dir);
Michael Rothbc62fa02012-01-21 16:42:27 -060029int ga_uninstall_service(void);
30
31#endif