'\" te .\" Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. .TH libscf 3LIB "23 Apr 2012" "SunOS 5.11" "Interface Libraries" .SH NAME libscf \- service configuration facility library .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lscf\fR [ \fIlibrary\fR... ] #include <\fBlibscf.h\fR> .fi .SH DESCRIPTION .sp .LP Functions in this library define the interface for reading, writing, and manipulating service configurations. .SH INTERFACES .sp .LP The shared object \fBlibscf.so.1\fR provides the public interfaces defined below. See \fBIntro\fR(3) for additional information on shared object interfaces. .sp .sp .TS tab(); lw(2.89i) lw(2.61i) lw(2.89i) lw(2.61i) . \fBscf_actionset_add\fR\fBscf_actionset_create\fR \fBscf_actionset_destroy\fR\fBscf_actionset_next_error\fR \fBscf_actionset_prepare\fR\fBscf_decoration_create\fR \fBscf_count_ranges_destroy\fR\fBscf_decoration_create\fR \fBscf_decoration_destroy\fR\fBscf_decoration_get_bundle\fR \fBscf_decoration_get_layer\fR\fBscf_decoration_get_value\fR \fBscf_decoration_handle\fR\fBscf_decoration_is_type\fR \fBscf_decoration_layer_from_string\fR\fBscf_decoration_layer_to_string\fR \fBscf_decoration_type\fR\fBscf_entry_add_value\fR \fBscf_entry_create\fR\fBscf_entry_destroy\fR \fBscf_entry_destroy_children\fR\fBscf_entry_handle\fR \fBscf_entry_reset\fR\fBscf_error\fR \fBscf_handle_bind\fR\fBscf_handle_create\fR \fBscf_handle_decode_fmri\fR\fBscf_handle_decorate\fR \fBscf_handle_destroy\fR\fBscf_handle_get_scope\fR \fBscf_handle_unbind\fR\fBscf_instance_add_pg\fR \fBscf_instance_create\fR\fBscf_instance_delcust\fR \fBscf_instance_delete\fR\fBscf_instance_destroy\fR \fBscf_instance_get_decoration\fR\fBscf_instance_get_name\fR \fBscf_instance_get_parent\fR\fBscf_instance_get_pg\fR \fBscf_instance_get_pg_composed\fR\fBscf_instance_get_snapshot\fR \fBscf_instance_handle\fR\fBscf_instance_is_complete\fR \fBscf_instance_is_masked\fR\fBscf_instance_to_fmri\fR \fBscf_int_ranges_destroy\fR\fBscf_iter_create\fR \fBscf_iter_decoration_values\fR\fBscf_iter_destroy\fR \fBscf_iter_handle\fR\fBscf_iter_handle_scopes\fR \fBscf_iter_instance_decorations\fR\fBscf_iter_instance_pgs\fR \fBscf_iter_instance_pgs_composed\fR\fBscf_iter_instance_pgs_typed_composed\fR \fBscf_iter_instance_pgs_typed\fR\fBscf_iter_instance_snapshots\fR \fBscf_iter_next_decoration\fR\fBscf_iter_next_instance\fR \fBscf_iter_next_pg\fR\fBscf_iter_next_property\fR \fBscf_iter_next_scope\fR\fBscf_iter_next_service\fR \fBscf_iter_next_snapshot\fR\fBscf_iter_next_value\fR \fBscf_iter_pg_decorations\fR\fBscf_iter_pg_properties\fR \fBscf_iter_property_decorations\fR\fBscf_iter_property_values\fR \fBscf_iter_reset\fR\fBscf_iter_scope_services\fR \fBscf_iter_service_decorations\fR\fBscf_iter_service_instances\fR \fBscf_iter_service_pgs\fR\fBscf_iter_service_pgs_typed\fR \fBscf_iter_snaplevel_pgs\fR\fBscf_iter_snaplevel_pgs_typed\fR \fBscf_limit\fR\fBscf_myname\fR \fBscf_pg_create\fR\fBscf_pg_delcust\fR \fBscf_pg_delete\fR\fBscf_pg_destroy\fR \fBscf_pg_get_decoration\fR\fBscf_pg_get_flags\fR \fBscf_pg_get_name\fR\fBscf_pg_get_parent_instance\fR \fBscf_pg_get_parent_service\fR\fBscf_pg_get_parent_snaplevel\fR \fBscf_pg_get_property\fR\fBscf_pg_get_type\fR \fBscf_pg_get_underlying_pg\fR\fBscf_pg_handle\fR \fBscf_pg_is_masked\fR\fBscf_pg_to_fmri\fR \fBscf_pg_update\fR\fBscf_property_create\fR \fBscf_property_delcust\fR\fBscf_property_destroy\fR \fBscf_property_get_decoration\fR\fBscf_property_get_name\fR \fBscf_property_get_value\fR\fBscf_property_get_value_at_layer\fR \fBscf_property_handle\fR\fBscf_property_is_masked\fR \fBscf_property_is_type\fR\fBscf_property_to_fmri\fR \fBscf_property_type\fR\fBscf_scope_add_service\fR \fBscf_scope_create\fR\fBscf_scope_destroy\fR \fBscf_scope_get_name\fR\fBscf_scope_get_service\fR \fBscf_scope_handle\fR\fBscf_scope_to_fmri\fR \fBscf_service_add_instance\fR\fBscf_service_add_pg\fR \fBscf_service_create\fR\fBscf_service_delcust\fR \fBscf_service_delete\fR\fBscf_service_destroy\fR \fBscf_service_get_decoration\fR\fBscf_service_get_instance\fR \fBscf_service_get_name\fR\fBscf_service_get_parent\fR \fBscf_service_get_pg\fR\fBscf_service_handle\fR \fBscf_service_is_masked\fR\fBscf_service_to_fmri\fR \fBscf_simple_app_props_free\fR\fBscf_simple_app_props_get\fR \fBscf_simple_app_props_next\fR\fBscf_simple_app_props_search\fR \fBscf_simple_prop_free\fR\fBscf_simple_prop_get\fR \fBscf_simple_prop_name\fR\fBscf_simple_prop_next_astring\fR \fBscf_simple_prop_next_boolean\fR\fBscf_simple_prop_next_count\fR \fBscf_simple_prop_next_integer\fR\fBscf_simple_prop_next_opaque\fR \fBscf_simple_prop_next_reset\fR\fBscf_simple_prop_next_time\fR \fBscf_simple_prop_next_ustring\fR\fBscf_simple_prop_numvalues\fR \fBscf_simple_prop_pgname\fR\fBscf_simple_prop_type\fR \fBscf_simple_walk_instances\fR\fBscf_snaplevel_create\fR \fBscf_snaplevel_destroy\fR\fBscf_snaplevel_get_instance_name\fR \fBscf_snaplevel_get_next_snaplevel\fR\fBscf_snaplevel_get_parent\fR \fBscf_snaplevel_get_pg\fR\fBscf_snaplevel_get_scope_name\fR \fBscf_snaplevel_get_service_name\fR\fBscf_snaplevel_handle\fR \fBscf_snapshot_create\fR\fBscf_snapshot_destroy\fR \fBscf_snapshot_get_base_snaplevel\fR\fBscf_snapshot_get_name\fR \fBscf_snapshot_get_parent\fR\fBscf_snapshot_handle\fR \fBscf_strerror\fR\fBscf_string_to_type\fR \fBscf_tmpl_error_pg\fR\fBscf_tmpl_error_pg_tmpl\fR \fBscf_tmpl_error_prop\fR\fBscf_tmpl_error_prop_tmpl\fR \fBscf_tmpl_error_source_fmri\fR\fBscf_tmpl_error_type\fR \fBscf_tmpl_error_value\fR\fBscf_tmpl_errors_destroy\fR \fBscf_tmpl_get_by_pg\fR\fBscf_tmpl_get_by_pg_name\fR \fBscf_tmpl_get_by_prop\fR\fBscf_tmpl_iter_pgs\fR \fBscf_tmpl_iter_props\fR\fBscf_tmpl_next_error\fR \fBscf_tmpl_pg_common_name\fR\fBscf_tmpl_pg_create\fR \fBscf_tmpl_pg_description\fR\fBscf_tmpl_pg_destroy\fR \fBscf_tmpl_pg_name\fR\fBscf_tmpl_pg_required\fR \fBscf_tmpl_pg_reset\fR\fBscf_tmpl_pg_target\fR \fBscf_tmpl_pg_type\fR\fBscf_tmpl_prop_cardinality\fR \fBscf_tmpl_prop_common_name\fR\fBscf_tmpl_prop_create\fR \fBscf_tmpl_prop_description\fR\fBscf_tmpl_prop_destroy\fR \fBscf_tmpl_prop_internal_seps\fR\fBscf_tmpl_prop_name\fR \fBscf_tmpl_prop_required\fR\fBscf_tmpl_prop_reset\fR \fBscf_tmpl_prop_type\fR\fBscf_tmpl_prop_units\fR \fBscf_tmpl_prop_visibility\fR\fBscf_tmpl_reset_errors\fR \fBscf_tmpl_strerror\fR\fBscf_tmpl_validate_fmri\fR \fBscf_tmpl_value_common_name\fR\fBscf_tmpl_value_count_range_choices\fR \fBscf_tmpl_value_count_range_constraints\fR\fBscf_tmpl_value_description\fR \fBscf_tmpl_value_in_constraint\fR\fBscf_tmpl_value_int_range_choices\fR \fBscf_tmpl_value_int_range_constraints\fR\fBscf_tmpl_value_name_choices\fR \fBscf_tmpl_value_name_constraints\fR\fBscf_tmpl_visibility_to_string\fR \fBscf_transaction_commit\fR\fBscf_transaction_create\fR \fBscf_transaction_destroy\fR\fBscf_transaction_destroy_children\fR \fBscf_transaction_handle\fR\fBscf_transaction_property_change\fR \fBscf_transaction_property_change_type\fR\fBscf_transaction_property_delete\fR \fBscf_transaction_property_new\fR\fBscf_transaction_reset\fR \fBscf_transaction_reset_all\fR\fBscf_transaction_start\fR \fBscf_type_base_type\fR\fBscf_type_to_string\fR \fBscf_value_base_type\fR\fBscf_value_create\fR \fBscf_value_destroy\fR\fBscf_value_get_as_string\fR \fBscf_value_get_as_string_typed\fR\fBscf_value_get_astring\fR \fBscf_value_get_boolean\fR\fBscf_value_get_count\fR \fBscf_value_get_integer\fR\fBscf_value_get_opaque\fR \fBscf_value_get_time\fR\fBscf_value_get_ustring\fR \fBscf_value_handle\fR\fBscf_value_is_type\fR \fBscf_value_reset\fR\fBscf_value_set_astring\fR \fBscf_value_set_boolean\fR\fBscf_value_set_count\fR \fBscf_value_set_from_string\fR\fBscf_value_set_integer\fR \fBscf_value_set_opaque\fR\fBscf_value_set_time\fR \fBscf_value_set_ustring\fR\fBscf_value_type\fR \fBscf_values_destroy\fR\fBsmf_degrade_instance\fR \fBsmf_disable_instance\fR\fBsmf_enable_instance\fR \fBsmf_get_state\fR\fBsmf_maintain_instance\fR \fBsmf_method_exit\fR\fBsmf_notify_del_params\fR \fBsmf_notify_get_params\fR\fBsmf_notify_set_params\fR \fBsmf_refresh_instance\fR\fBsmf_restart_instance\fR \fBsmf_restore_instance\fR\fBsmf_set_restarter\fR \fBsmf_state_from_string\fR\fBsmf_state_to_string\fR .TE .SH FILES .sp .ne 2 .mk .na \fB\fB/usr/lib/libscf.so.1\fR\fR .ad .RS 27n .rt shared object .RE .sp .ne 2 .mk .na \fB\fB/usr/lib/64/libscf.so.1\fR\fR .ad .RS 27n .rt 64-bit shared object .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/library _ Interface StabilityCommitted _ MT-LevelSafe .TE .SH SEE ALSO .sp .LP \fBIntro\fR(3), \fBattributes\fR(5), \fBsmf\fR(5)