aboutsummaryrefslogtreecommitdiff
path: root/qga/service-win32.h
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2013-05-18 06:31:53 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-07-23 12:01:16 -0500
commit31c6ed2077377b7313b28188a7811a9be866a3e4 (patch)
tree8d2e289e4e2ffef066977bffa35f2f9aba6bed46 /qga/service-win32.h
parentc432c7d85aac05c8aa1331b038b529042631b206 (diff)
qga: save state directory in ga_install_service()
If the user selects a non-default state directory at service installation time, we should remember it in the registered service. Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> (cherry picked from commit a839ee77c786a8200c76ca92f697eebf6bcc9aa3) * modified to save state_dir unconditionally an avoid reliance on uncommitted CSIDL_COMMON_APPDATA dependencies Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/service-win32.h')
-rw-r--r--qga/service-win32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qga/service-win32.h b/qga/service-win32.h
index 99dfc53348..3b9e87024b 100644
--- a/qga/service-win32.h
+++ b/qga/service-win32.h
@@ -24,7 +24,8 @@ typedef struct GAService {
SERVICE_STATUS_HANDLE status_handle;
} GAService;
-int ga_install_service(const char *path, const char *logfile);
+int ga_install_service(const char *path, const char *logfile,
+ const char *state_dir);
int ga_uninstall_service(void);
#endif