summaryrefslogtreecommitdiff
path: root/bin/bbackupd/Win32ServiceFunctions.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-10-17 12:55:05 +0000
committerChris Wilson <chris+github@qwirx.com>2007-10-17 12:55:05 +0000
commitc16cf90559fad4d8382f3cd3f92ca78f35ed2095 (patch)
treeaf01021204c8fa46986388f1fde6721dca1a7728 /bin/bbackupd/Win32ServiceFunctions.h
parent7239aaba320fbc24dd608585ca417f804dab1950 (diff)
Use the specified service name when installing and removing the service.
Pass the service name on the service command line, and use it for event log messages. (merges [1856])
Diffstat (limited to 'bin/bbackupd/Win32ServiceFunctions.h')
-rw-r--r--bin/bbackupd/Win32ServiceFunctions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbackupd/Win32ServiceFunctions.h b/bin/bbackupd/Win32ServiceFunctions.h
index 683cb8a6..e04c368f 100644
--- a/bin/bbackupd/Win32ServiceFunctions.h
+++ b/bin/bbackupd/Win32ServiceFunctions.h
@@ -12,8 +12,8 @@
#ifndef WIN32SERVICEFUNCTIONS_H
#define WIN32SERVICEFUNCTIONS_H
-int RemoveService (void);
-int InstallService (const char* pConfigFilePath);
+int RemoveService (const std::string& rServiceName);
+int InstallService (const char* pConfigFilePath, const std::string& rServiceName);
int OurService (const char* pConfigFileName);
#endif