- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Search for |

- Namespace List
- Namespace Members

# TAO_END_VERSIONED_NAMESPACE_DECL Namespace Reference

## Functions
int | open_services_i (int &argc, char **argv, bool ignore_default_svc_conf_file, bool skip_service_config_open)

## Function Documentation

int TAO_END_VERSIONED_NAMESPACE_DECL::open_services_i | ( | int & | argc,
|  | char ** | argv,
|  | bool | ignore_default_svc_conf_file = `false`,
|  | bool | skip_service_config_open = `false` |
| ) |  |  |

Initialize the ACE Service Configurator. This is a one-shot method, i.e., it can be called multiple times but it will only do its work once. It does, however, track the number of times it's called (see `open_services()`). It is fully thread-safe.

Returns:
  `0` if successful, `-1` with `errno` set if failure.

Note:
  You can provide your program a set of default `svc.conf' entries by setting ignore_default_svc_conf_file to non-zero and use `default_svc_conf_entries()` before calling `open_services()`. In addition, you can skip_service_config_open altogether, which used to be important when the ORB is linked in via the ACE_Service_Configurator, since the ACE_Service_Configurator was non-reentrant. However, the ACE_Service_Configurator is now reentrant meaning that it is really no longer necessary to do so.