summaryrefslogtreecommitdiff
path: root/bin/bbackupd/Win32ServiceFunctions.h
Commit message (Collapse)AuthorAge
* Move reusable code out of bin directories.Chris Wilson2015-12-13
| | | | | Allows tests to depend on lib/bbackupd instead of bin/bbackupd, which was always a hack, and really doesn't work with CMake.
* Use the specified service name when installing and removing the service.Chris Wilson2007-10-17
| | | | | | | | Pass the service name on the service command line, and use it for event log messages. (merges [1856])
* Record the exit status of the daemon when running as a service, andChris Wilson2007-10-17
| | | | | | | | | | | | | | | | | | return it to Windows so that Windows doesn't tell the admin that "the service did not report an error" when it stopped unexpectedly. When failing to contact the SCM, report a textual error message as well as the error code. Make OurService() take a const char * instead of char *, so that we can pass it a std::string.c_str(). InstallService creates service using "-s" option instead of "--service", which no longer works once we use getopt() for option processing (to follow). (merges [1853])
* Don't initialise MemLeakFinder twice when running as a service.Chris Wilson2007-09-07
| | | | | | | Return a non-zero exit code if running as a service fails. (merges [1813])
* * bin/bbackupd/Win32ServiceFunctions.hChris Wilson2006-08-09
| | | | | | | | | | | | | | * bin/bbackupd/Win32ServiceFunctions.cpp - InstallService() and OurService() take the config file name as a parameter - InstallService() returns an integer status code like RemoveService() - OurService() sets the global static config file name to pass into the main thread later * bin/bbackupd/bbackupd.cpp - Call InstallService() and OurService() with the config file name as a parameter
* * Win32ServiceFunctions.hChris Wilson2006-08-09
| | | | | - Header update
* * bbackupd.cppChris Wilson2006-08-09
| | | | | | * Win32ServiceFunctions.h - Revert to trunk
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12