Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Services Developer's Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## `scds_initialize()` Function

The DSDL requires that each callback method call the `scds_initialize()` function at the beginning of the method.

This function performs the following operations:

- Checks and processes the command-line arguments (`argc` and `argv`) that the framework passes to the data service method. The method does not have to process any additional command-line arguments.

- Sets up internal data structures for use by the other functions in the DSDL.

- Initializes the logging environment.

- Validates fault monitor probe settings.

Use the `scds_close()` function to reclaim the resources that are allocated by `scds_initialize()`.

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |