Lines Matching defs:handle

53 	scf_handle_t	*handle;	/* smf handle */
55 scf_service_t *svc; /* smf service handle */
56 scf_instance_t *inst; /* instance handle */
100 if (self->handle != NULL) {
101 scf_handle_destroy(self->handle);
102 self->handle = NULL;
146 self->handle = h;
248 if ((iter = scf_iter_create(self->handle)) == NULL) {
257 if ((pg = scf_pg_create(self->handle)) == NULL) {
259 PyErr_SetString(NssscfError, "Cannot create pg handle");
367 if ((iter = scf_iter_create(self->handle)) == NULL) {
372 if ((pg_handle = scf_pg_create(self->handle)) == NULL) {
375 PyErr_SetString(NssscfError, "Cannot create pg handle");
378 if ((prop_handle = scf_property_create(self->handle)) == NULL) {
382 PyErr_SetString(NssscfError, "Cannot create property handle");
524 if ((iter = scf_iter_create(self->handle)) == NULL) {
529 if ((pg_handle = scf_pg_create(self->handle)) == NULL) {
532 PyErr_SetString(NssscfError, "Cannot create pg handle");
535 if ((prop_handle = scf_property_create(self->handle)) == NULL) {
539 PyErr_SetString(NssscfError, "Cannot create property handle");
542 if ((value_handle = scf_value_create(self->handle)) == NULL) {
547 PyErr_SetString(NssscfError, "Cannot create value handle");
745 pg_handle = scf_pg_create(self->handle);
802 pg_handle = scf_pg_create(self->handle);
856 pg_handle = scf_pg_create(self->handle);
917 pg_handle = scf_pg_create(self->handle);
928 pg_handle = scf_pg_create(self->handle);
1018 if ((pg_handle = scf_pg_create(self->handle)) == NULL) {
1021 PyErr_SetString(NssscfError, "Cannot create pg handle");
1024 if ((prop_handle = scf_property_create(self->handle)) == NULL) {
1028 PyErr_SetString(NssscfError, "Cannot create property handle");
1075 if ((tx = scf_transaction_create(self->handle)) == NULL ||
1076 (ent = scf_entry_create(self->handle)) == NULL) {
1114 if ((value_handle = scf_value_create(self->handle)) == NULL) {
1116 "Cannot create value handle");
1273 success = scf_tmpl_validate_fmri(self->handle, instance,
1575 * Sets the Python instance's smf service handle