summaryrefslogtreecommitdiff
path: root/usr/src/lib/libscf/common/libscf_impl.h
diff options
context:
space:
mode:
authordm120769 <none@none>2007-11-19 17:44:01 -0800
committerdm120769 <none@none>2007-11-19 17:44:01 -0800
commit273264cdcd36b34067f5b77d1af696eff72d46f3 (patch)
treee8361f2987df5d76132e14dac8fee9a9fdd98a61 /usr/src/lib/libscf/common/libscf_impl.h
parentc9b6d37c673213b7ad91d849a105790cb469f95b (diff)
downloadillumos-joyent-273264cdcd36b34067f5b77d1af696eff72d46f3.tar.gz
backout 5079356/6405683: causes 6630372
Diffstat (limited to 'usr/src/lib/libscf/common/libscf_impl.h')
-rw-r--r--usr/src/lib/libscf/common/libscf_impl.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/usr/src/lib/libscf/common/libscf_impl.h b/usr/src/lib/libscf/common/libscf_impl.h
index b6efa98acd..6dfef8577c 100644
--- a/usr/src/lib/libscf/common/libscf_impl.h
+++ b/usr/src/lib/libscf/common/libscf_impl.h
@@ -2,8 +2,9 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +21,7 @@
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -40,6 +41,15 @@
extern "C" {
#endif
+#define SCF_FMRI_SVC_PREFIX "svc:"
+#define SCF_FMRI_FILE_PREFIX "file:"
+#define SCF_FMRI_SCOPE_PREFIX "//"
+#define SCF_FMRI_LOCAL_SCOPE "localhost"
+#define SCF_FMRI_SCOPE_SUFFIX "@localhost"
+#define SCF_FMRI_SERVICE_PREFIX "/"
+#define SCF_FMRI_INSTANCE_PREFIX ":"
+#define SCF_FMRI_PROPERTYGRP_PREFIX "/:properties/"
+#define SCF_FMRI_PROPERTY_PREFIX "/"
/*
* This macro must be extended if additional FMRI prefixes are defined
*/