diff options
| author | tn143363 <none@none> | 2007-04-26 16:29:15 -0700 |
|---|---|---|
| committer | tn143363 <none@none> | 2007-04-26 16:29:15 -0700 |
| commit | d75e6a5d480f559280524b60d52730c76a25524f (patch) | |
| tree | f17196e0896dc0a5380c51e1113b101979099198 /usr/src/lib/libscf/inc/libscf_priv.h | |
| parent | a4cf92b0c076597618d61b4c5badca6e773abae7 (diff) | |
| download | illumos-joyent-d75e6a5d480f559280524b60d52730c76a25524f.tar.gz | |
6444783 config parameters in private rcap.conf should be moved to the repository
--HG--
rename : usr/src/cmd/rcap/common/rcapd_conf.l => usr/src/cmd/rcap/common/rcapd_conf.c
Diffstat (limited to 'usr/src/lib/libscf/inc/libscf_priv.h')
| -rw-r--r-- | usr/src/lib/libscf/inc/libscf_priv.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/usr/src/lib/libscf/inc/libscf_priv.h b/usr/src/lib/libscf/inc/libscf_priv.h index f4d01f0324..a9b3e273f5 100644 --- a/usr/src/lib/libscf/inc/libscf_priv.h +++ b/usr/src/lib/libscf/inc/libscf_priv.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -193,6 +193,21 @@ scf_type_t scf_string_to_type(const char *); int _smf_refresh_instance_i(scf_instance_t *); +typedef struct scf_simple_handle { + scf_handle_t *h; + scf_snapshot_t *snap; + scf_instance_t *inst; + scf_propertygroup_t *running_pg; + scf_propertygroup_t *editing_pg; +} scf_simple_handle_t; + +void scf_simple_handle_destroy(scf_simple_handle_t *); +scf_simple_handle_t *scf_general_pg_setup(const char *, const char *); +scf_transaction_t *scf_transaction_setup(scf_simple_handle_t *); +int scf_transaction_restart(scf_simple_handle_t *, scf_transaction_t *); +int scf_read_count_property(scf_simple_handle_t *, char *, uint64_t *); +int scf_set_count_property(scf_transaction_t *, char *, uint64_t, boolean_t); + /* * Walks all the instances matching a given fmri list. Each fmri in the array * can be one of the following: |
