| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
- Improved diagnostic output if InstallService() fails
- Ensure that InstallService() cleans up all resources
- Check that the requested configuration file is accessible
- Include the configuration file in the service parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
- RemoveService() returns a status code, 0 for success, 1 for error
- RemoveService() outputs better diagnostic messages on failure
|
|
|
|
|
|
|
|
| |
- Keep a static char pointer to hold onto the config file name to
pass it to ServiceMain (over whose parameters we have no control).
- ServiceMain passes the config file name as the parameter of the
thread it creates.
|
|
|
|
|
| |
- More cosmetic spacing fixes
|
|
|
|
|
| |
- Reindent ServiceMain function to match coding standards and rest of file
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
- 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).
|
|
|
|
| |
distribution
|
|
|