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-05-30 11:37:37 -0500
commita839ee77c786a8200c76ca92f697eebf6bcc9aa3 (patch)
treeae11e9fc0f3850d32cac7fafa8d66223983d0df5 /qga/service-win32.h
parenta880845f3d92e508e43fcc38f0631b91c203e5d5 (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>
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