1libscf(3LIB)                  Interface Libraries                 libscf(3LIB)
2
3
4

NAME

6       libscf - service configuration facility library
7

SYNOPSIS

9       cc [ flag... ] file... -lscf [ library... ]
10       #include <libscf.h>
11
12

DESCRIPTION

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

INTERFACES

18       The shared object libscf.so.1 provides the  public  interfaces  defined
19       below.  See Intro(3) for additional information on shared object inter‐
20       faces.
21
22
23
24
25       scf_count_ranges_destroy                  scf_entry_add_value
26       scf_entry_create                          scf_entry_destroy
27       scf_entry_destroy_children                scf_entry_handle
28       scf_entry_reset                           scf_error
29       scf_handle_bind                           scf_handle_create
30       scf_handle_decode_fmri                    scf_handle_decorate
31       scf_handle_destroy                        scf_handle_get_scope
32       scf_handle_unbind                         scf_instance_add_pg
33       scf_instance_create                       scf_instance_delete
34       scf_instance_destroy                      scf_instance_get_name
35       scf_instance_get_parent                   scf_instance_get_pg
36       scf_instance_get_pg_composed              scf_instance_get_snapshot
37       scf_instance_handle                       scf_instance_to_fmri
38       scf_int_ranges_destroy                    scf_iter_create
39       scf_iter_destroy                          scf_iter_handle
40       scf_iter_handle_scopes                    scf_iter_instance_pgs
41       scf_iter_instance_pgs_composed            scf_iter_instance_pgs_typed_composed
42       scf_iter_instance_pgs_typed               scf_iter_instance_snapshots
43       scf_iter_next_instance                    scf_iter_next_pg
44       scf_iter_next_property                    scf_iter_next_scope
45       scf_iter_next_service                     scf_iter_next_snapshot
46       scf_iter_next_value                       scf_iter_pg_properties
47       scf_iter_property_values                  scf_iter_reset
48       scf_iter_scope_services                   scf_iter_service_instances
49       scf_iter_service_pgs                      scf_iter_service_pgs_typed
50       scf_iter_snaplevel_pgs                    scf_iter_snaplevel_pgs_typed
51       scf_limit                                 scf_myname
52       scf_pg_create                             scf_pg_delete
53       scf_pg_destroy                            scf_pg_get_flags
54       scf_pg_get_name                           scf_pg_get_parent_instance
55       scf_pg_get_parent_service                 scf_pg_get_parent_snaplevel
56       scf_pg_get_property                       scf_pg_get_type
57       scf_pg_get_underlying_pg                  scf_pg_handle
58       scf_pg_to_fmri                            scf_pg_update
59       scf_property_create                       scf_property_destroy
60       scf_property_get_name                     scf_property_get_value
61       scf_property_handle                       scf_property_is_type
62       scf_property_to_fmri                      scf_property_type
63       scf_scope_add_service                     scf_scope_create
64       scf_scope_destroy                         scf_scope_get_name
65       scf_scope_get_service                     scf_scope_handle
66
67       scf_scope_to_fmri                         scf_service_add_instance
68       scf_service_add_pg                        scf_service_create
69       scf_service_delete                        scf_service_destroy
70       scf_service_get_instance                  scf_service_get_name
71       scf_service_get_parent                    scf_service_get_pg
72       scf_service_handle                        scf_service_to_fmri
73       scf_simple_app_props_free                 scf_simple_app_props_get
74       scf_simple_app_props_next                 scf_simple_app_props_search
75       scf_simple_prop_free                      scf_simple_prop_get
76       scf_simple_prop_name                      scf_simple_prop_next_astring
77       scf_simple_prop_next_boolean              scf_simple_prop_next_count
78       scf_simple_prop_next_integer              scf_simple_prop_next_opaque
79       scf_simple_prop_next_reset                scf_simple_prop_next_time
80       scf_simple_prop_next_ustring              scf_simple_prop_numvalues
81       scf_simple_prop_pgname                    scf_simple_prop_type
82       scf_simple_walk_instances                 scf_snaplevel_create
83       scf_snaplevel_destroy                     scf_snaplevel_get_instance_name
84       scf_snaplevel_get_next_snaplevel          scf_snaplevel_get_parent
85       scf_snaplevel_get_pg                      scf_snaplevel_get_scope_name
86       scf_snaplevel_get_service_name            scf_snaplevel_handle
87       scf_snapshot_create                       scf_snapshot_destroy
88       scf_snapshot_get_base_snaplevel           scf_snapshot_get_name
89       scf_snapshot_get_parent                   scf_snapshot_handle
90       scf_strerror                              scf_string_to_type
91       scf_tmpl_error_pg                         scf_tmpl_error_pg_tmpl
92       scf_tmpl_error_prop                       scf_tmpl_error_prop_tmpl
93       scf_tmpl_error_source_fmri                scf_tmpl_error_type
94       scf_tmpl_error_value                      scf_tmpl_errors_destroy
95       scf_tmpl_get_by_pg                        scf_tmpl_get_by_pg_name
96       scf_tmpl_get_by_prop                      scf_tmpl_iter_pgs
97       scf_tmpl_iter_props                       scf_tmpl_next_error
98       scf_tmpl_pg_common_name                   scf_tmpl_pg_create
99       scf_tmpl_pg_description                   scf_tmpl_pg_destroy
100       scf_tmpl_pg_name                          scf_tmpl_pg_required
101       scf_tmpl_pg_reset                         scf_tmpl_pg_target
102       scf_tmpl_pg_type                          scf_tmpl_prop_cardinality
103       scf_tmpl_prop_common_name                 scf_tmpl_prop_create
104       scf_tmpl_prop_description                 scf_tmpl_prop_destroy
105       scf_tmpl_prop_internal_seps               scf_tmpl_prop_name
106       scf_tmpl_prop_required                    scf_tmpl_prop_reset
107       scf_tmpl_prop_type                        scf_tmpl_prop_units
108       scf_tmpl_prop_visibility                  scf_tmpl_reset_errors
109       scf_tmpl_strerror                         scf_tmpl_validate_fmri
110       scf_tmpl_value_common_name                scf_tmpl_value_count_range_choices
111       scf_tmpl_value_count_range_ constraints   scf_tmpl_value_description
112       scf_tmpl_value_in_constraint              scf_tmpl_value_int_range_choices
113       scf_tmpl_value_int_range_ constraints     scf_tmpl_value_name_choices
114       scf_tmpl_value_name_constraints           scf_tmpl_visibility_to_string
115       scf_transaction_commit                    scf_transaction_create
116       scf_transaction_destroy                   scf_transaction_destroy_children
117       scf_transaction_handle                    scf_transacion_property_change
118       scf_transaction_property_change_ type     scf_transaction_property_delete
119       scf_transaction_property_new              scf_transaction_reset
120       scf_transaction_reset_all                 scf_transaction_start
121       scf_type_base_type                        scf_type_to_string
122       scf_value_base_type                       scf_value_create
123       scf_value_destroy                         scf_value_get_as_string
124       scf_value_get_as_string_typed             scf_value_get_astring
125       scf_value_get_boolean                     scf_value_get_count
126       scf_value_get_integer                     scf_value_get_opaque
127       scf_value_get_time                        scf_value_get_ustring
128       scf_value_handle                          scf_value_is_type
129       scf_value_reset                           scf_value_set_astring
130       scf_value_set_boolean                     scf_value_set_count
131       scf_value_set_from_string                 scf_value_set_integer
132
133       scf_value_set_opaque                      scf_value_set_time
134       scf_value_set_ustring                     scf_value_type
135       scf_values_destroy                        smf_degrade_instance
136       smf_disable_instance                      smf_enable_instance
137       smf_get_state                             smf_maintain_instance
138       smf_refresh_instance                      smf_restart_instance
139       smf_restore_instance
140
141

FILES

143       /usr/lib/libscf.so.1       shared object
144
145
146       /usr/lib/64/libscf.so.1    64-bit shared object
147
148

ATTRIBUTES

150       See attributes(5) for descriptions of the following attributes:
151
152
153
154
155       ┌─────────────────────────────┬─────────────────────────────┐
156       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
157       ├─────────────────────────────┼─────────────────────────────┤
158       │Availability                 │SUNWcslr                     │
159       ├─────────────────────────────┼─────────────────────────────┤
160       │Interface Stability          │Committed                    │
161       ├─────────────────────────────┼─────────────────────────────┤
162       │MT-Level                     │Safe                         │
163       └─────────────────────────────┴─────────────────────────────┘
164

SEE ALSO

166       Intro(3), attributes(5), smf(5)
167
168
169
170SunOS 5.11                        28 Aug 2007                     libscf(3LIB)
Impressum