diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-28 08:46:26 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-12-28 08:46:26 +0000 |
commit | 8d05f80feae823d46acb36324fa55bac0b7e4edd (patch) | |
tree | 311608328780dc6f3aceb5c07a62e4a866374258 /ace/Service_Config.h | |
parent | 910ab702a7285d5e1226f6d2054db81e7695f1b6 (diff) | |
download | ATCD-8d05f80feae823d46acb36324fa55bac0b7e4edd.tar.gz |
Changed the default value of <ignore_static_svcs> to 1.
Added an extra argument <ignore_static_svcs> to both open method.
Diffstat (limited to 'ace/Service_Config.h')
-rw-r--r-- | ace/Service_Config.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ace/Service_Config.h b/ace/Service_Config.h index b9238c199ee..1c4416a215b 100644 --- a/ace/Service_Config.h +++ b/ace/Service_Config.h @@ -102,7 +102,7 @@ public: // = Initialization and termination methods. - ACE_Service_Config (int ignore_static_svcs = 0, + ACE_Service_Config (int ignore_static_svcs = 1, size_t size = ACE_Service_Config::MAX_SERVICES, int signum = SIGHUP); // Initialize the Service Repository. @@ -112,13 +112,15 @@ public: // Performs an open without parsing command-line arguments. static int open (const ASYS_TCHAR program_name[], - LPCTSTR logger_key = ACE_DEFAULT_LOGGER_KEY); + LPCTSTR logger_key = ACE_DEFAULT_LOGGER_KEY, + int ignore_static_svcs = 1); // Performs an open without parsing command-line arguments. Returns // number of errors that occurred on failure and 0 otherwise. static int open (int argc, ASYS_TCHAR *argv[], - LPCTSTR logger_key = ACE_DEFAULT_LOGGER_KEY); + LPCTSTR logger_key = ACE_DEFAULT_LOGGER_KEY, + int ignore_static_svcs = 1); // This is the primary entry point into the ACE_Service_Config (the // constructor just handles simple initializations). It parses // arguments passed in from the command-line. Returns number of |