Searched defs:rep_handle (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c68 static scf_handle_t *rep_handle = NULL; variable
125 if ((rep_handle = scf_handle_create(SCF_VERSION)) == NULL) {
130 } else if (make_handle_bound(rep_handle) == -1) {
132 } else if (((pg = scf_pg_create(rep_handle)) == NULL) ||
133 ((inst = scf_instance_create(rep_handle)) == NULL) ||
134 ((trans = scf_transaction_create(rep_handle)) == NULL) ||
135 ((entry = scf_entry_create(rep_handle)) == NULL) ||
136 ((prop = scf_property_create(rep_handle)) == NULL)) {
152 if (rep_handle != NULL) {
157 (void) scf_handle_unbind(rep_handle);
[all...]
H A Dconfig.c66 static scf_handle_t *rep_handle = NULL; variable
77 if ((rep_handle = scf_handle_create(SCF_VERSION)) == NULL) {
82 } else if (make_handle_bound(rep_handle) == -1) {
101 if (rep_handle == NULL)
109 (void) scf_handle_unbind(rep_handle);
110 scf_handle_destroy(rep_handle);
111 rep_handle = NULL;
410 *err = read_prop(rep_handle, &ret[i], i, inst,
466 if ((*bprops = read_instance_props(rep_handle, (char *)fmri, &nprops,
587 if (make_handle_bound(rep_handle)
[all...]

Completed in 59 milliseconds