xref: /titanic_51/usr/src/man/man3lib/libscf.3lib (revision 6a1af1a67532df169a657cce07140be64bdea084)
te
Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
libscf 3LIB "28 Aug 2007" "SunOS 5.11" "Interface Libraries"
NAME
libscf - service configuration facility library
SYNOPSIS

cc [ flag... ] file... -lscf [ library... ]
#include <libscf.h>
DESCRIPTION

Functions in this library define the interface for reading, writing, and manipulating service configurations.

INTERFACES

The shared object libscf.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

scf_count_ranges_destroyscf_entry_add_value
scf_entry_createscf_entry_destroy
scf_entry_destroy_childrenscf_entry_handle
scf_entry_resetscf_error
scf_handle_bindscf_handle_create
scf_handle_decode_fmriscf_handle_decorate
scf_handle_destroyscf_handle_get_scope
scf_handle_unbindscf_instance_add_pg
scf_instance_createscf_instance_delete
scf_instance_destroyscf_instance_get_name
scf_instance_get_parentscf_instance_get_pg
scf_instance_get_pg_composedscf_instance_get_snapshot
scf_instance_handlescf_instance_to_fmri
scf_int_ranges_destroyscf_iter_create
scf_iter_destroyscf_iter_handle
scf_iter_handle_scopesscf_iter_instance_pgs
scf_iter_instance_pgs_composedscf_iter_instance_pgs_typed_composed
scf_iter_instance_pgs_typedscf_iter_instance_snapshots
scf_iter_next_instancescf_iter_next_pg
scf_iter_next_propertyscf_iter_next_scope
scf_iter_next_servicescf_iter_next_snapshot
scf_iter_next_valuescf_iter_pg_properties
scf_iter_property_valuesscf_iter_reset
scf_iter_scope_servicesscf_iter_service_instances
scf_iter_service_pgsscf_iter_service_pgs_typed
scf_iter_snaplevel_pgsscf_iter_snaplevel_pgs_typed
scf_limitscf_myname
scf_pg_createscf_pg_delete
scf_pg_destroyscf_pg_get_flags
scf_pg_get_namescf_pg_get_parent_instance
scf_pg_get_parent_servicescf_pg_get_parent_snaplevel
scf_pg_get_propertyscf_pg_get_type
scf_pg_get_underlying_pgscf_pg_handle
scf_pg_to_fmriscf_pg_update
scf_property_createscf_property_destroy
scf_property_get_namescf_property_get_value
scf_property_handlescf_property_is_type
scf_property_to_fmriscf_property_type
scf_scope_add_servicescf_scope_create
scf_scope_destroyscf_scope_get_name
scf_scope_get_servicescf_scope_handle
scf_scope_to_fmriscf_service_add_instance
scf_service_add_pgscf_service_create
scf_service_deletescf_service_destroy
scf_service_get_instancescf_service_get_name
scf_service_get_parentscf_service_get_pg
scf_service_handlescf_service_to_fmri
scf_simple_app_props_freescf_simple_app_props_get
scf_simple_app_props_nextscf_simple_app_props_search
scf_simple_prop_freescf_simple_prop_get
scf_simple_prop_namescf_simple_prop_next_astring
scf_simple_prop_next_booleanscf_simple_prop_next_count
scf_simple_prop_next_integerscf_simple_prop_next_opaque
scf_simple_prop_next_resetscf_simple_prop_next_time
scf_simple_prop_next_ustringscf_simple_prop_numvalues
scf_simple_prop_pgnamescf_simple_prop_type
scf_simple_walk_instancesscf_snaplevel_create
scf_snaplevel_destroyscf_snaplevel_get_instance_name
scf_snaplevel_get_next_snaplevelscf_snaplevel_get_parent
scf_snaplevel_get_pgscf_snaplevel_get_scope_name
scf_snaplevel_get_service_namescf_snaplevel_handle
scf_snapshot_createscf_snapshot_destroy
scf_snapshot_get_base_snaplevelscf_snapshot_get_name
scf_snapshot_get_parentscf_snapshot_handle
scf_strerrorscf_string_to_type
scf_tmpl_error_pgscf_tmpl_error_pg_tmpl
scf_tmpl_error_propscf_tmpl_error_prop_tmpl
scf_tmpl_error_source_fmriscf_tmpl_error_type
scf_tmpl_error_valuescf_tmpl_errors_destroy
scf_tmpl_get_by_pgscf_tmpl_get_by_pg_name
scf_tmpl_get_by_propscf_tmpl_iter_pgs
scf_tmpl_iter_propsscf_tmpl_next_error
scf_tmpl_pg_common_namescf_tmpl_pg_create
scf_tmpl_pg_descriptionscf_tmpl_pg_destroy
scf_tmpl_pg_namescf_tmpl_pg_required
scf_tmpl_pg_resetscf_tmpl_pg_target
scf_tmpl_pg_typescf_tmpl_prop_cardinality
scf_tmpl_prop_common_namescf_tmpl_prop_create
scf_tmpl_prop_descriptionscf_tmpl_prop_destroy
scf_tmpl_prop_internal_sepsscf_tmpl_prop_name
scf_tmpl_prop_requiredscf_tmpl_prop_reset
scf_tmpl_prop_typescf_tmpl_prop_units
scf_tmpl_prop_visibilityscf_tmpl_reset_errors
scf_tmpl_strerrorscf_tmpl_validate_fmri
scf_tmpl_value_common_namescf_tmpl_value_count_range_choices
scf_tmpl_value_count_range_ constraintsscf_tmpl_value_description
scf_tmpl_value_in_constraintscf_tmpl_value_int_range_choices
scf_tmpl_value_int_range_ constraintsscf_tmpl_value_name_choices
scf_tmpl_value_name_constraintsscf_tmpl_visibility_to_string
scf_transaction_commitscf_transaction_create
scf_transaction_destroyscf_transaction_destroy_children
scf_transaction_handlescf_transacion_property_change
scf_transaction_property_change_ typescf_transaction_property_delete
scf_transaction_property_newscf_transaction_reset
scf_transaction_reset_allscf_transaction_start
scf_type_base_typescf_type_to_string
scf_value_base_typescf_value_create
scf_value_destroyscf_value_get_as_string
scf_value_get_as_string_typedscf_value_get_astring
scf_value_get_booleanscf_value_get_count
scf_value_get_integerscf_value_get_opaque
scf_value_get_timescf_value_get_ustring
scf_value_handlescf_value_is_type
scf_value_resetscf_value_set_astring
scf_value_set_booleanscf_value_set_count
scf_value_set_from_stringscf_value_set_integer
scf_value_set_opaquescf_value_set_time
scf_value_set_ustringscf_value_type
scf_values_destroysmf_degrade_instance
smf_disable_instancesmf_enable_instance
smf_get_statesmf_maintain_instance
smf_refresh_instancesmf_restart_instance
smf_restore_instance
FILES

/usr/lib/libscf.so.1

shared object

/usr/lib/64/libscf.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityCommitted
MT-LevelSafe
SEE ALSO

Intro(3), attributes(5), smf(5)