diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-08-09 17:27:46 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-08-09 17:27:46 +0000 |
commit | bec6ea866b973c9661b4b2d4a7d342fa0a075185 (patch) | |
tree | d15ccb961e88018f7b23da269920de9c0274fdd3 /bin/bbackupd/Win32ServiceFunctions.h | |
parent | 52dfab19cd69b6423af80c7276caa5b65fdd6545 (diff) |
* bin/bbackupd/Win32ServiceFunctions.h
* 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
Diffstat (limited to 'bin/bbackupd/Win32ServiceFunctions.h')
-rw-r--r-- | bin/bbackupd/Win32ServiceFunctions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/bbackupd/Win32ServiceFunctions.h b/bin/bbackupd/Win32ServiceFunctions.h index 39f3a4e3..70e1f085 100644 --- a/bin/bbackupd/Win32ServiceFunctions.h +++ b/bin/bbackupd/Win32ServiceFunctions.h @@ -12,8 +12,8 @@ #ifndef WIN32SERVICEFUNCTIONS_H #define WIN32SERVICEFUNCTIONS_H -int RemoveService(void); -void InstallService(void); -void OurService(void); +int RemoveService (void); +int InstallService (const char* pConfigFilePath); +void OurService (char* pConfigFileName); #endif |