diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-14 19:39:24 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-14 19:39:24 +0000 |
commit | d16cc7f012fbe3eca75a7c711604a4f3f4c0846f (patch) | |
tree | bc19e0bf1de8f28a4d199d5f3f80d18c59ea30de /lib/bbackupd/Win32ServiceFunctions.h | |
parent | c459a8b5c88d82c44874edc6933c53a2b2a422d1 (diff) | |
parent | 25155a7021a5145c3c2c38b0a2511f94a9243bf3 (diff) |
Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyor
Diffstat (limited to 'lib/bbackupd/Win32ServiceFunctions.h')
-rw-r--r-- | lib/bbackupd/Win32ServiceFunctions.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/bbackupd/Win32ServiceFunctions.h b/lib/bbackupd/Win32ServiceFunctions.h new file mode 100644 index 00000000..e04c368f --- /dev/null +++ b/lib/bbackupd/Win32ServiceFunctions.h @@ -0,0 +1,19 @@ +//*************************************************************** +// From the book "Win32 System Services: The Heart of Windows 98 +// and Windows 2000" +// by Marshall Brain +// Published by Prentice Hall +// Copyright 1995 Prentice Hall. +// +// This code implements the Windows API Service interface +// for the Box Backup for Windows native port. +//*************************************************************** + +#ifndef WIN32SERVICEFUNCTIONS_H +#define WIN32SERVICEFUNCTIONS_H + +int RemoveService (const std::string& rServiceName); +int InstallService (const char* pConfigFilePath, const std::string& rServiceName); +int OurService (const char* pConfigFileName); + +#endif |