summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/contract.h
diff options
context:
space:
mode:
authoracruz <none@none>2008-02-25 11:01:04 -0800
committeracruz <none@none>2008-02-25 11:01:04 -0800
commit7b209c2cc5ea45251aba06dcc6181d3f23da807a (patch)
treedb92a12506ec33965457a31f4ef6deef468d8902 /usr/src/uts/common/sys/contract.h
parent253f5c5de73715b2f8a40cc25aeb832cad8deb26 (diff)
downloadillumos-joyent-7b209c2cc5ea45251aba06dcc6181d3f23da807a.tar.gz
PSARC 2008/046 Process Contract Decorations
5079353 RFE: contract 'decoration' with service FMRI
Diffstat (limited to 'usr/src/uts/common/sys/contract.h')
-rw-r--r--usr/src/uts/common/sys/contract.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/contract.h b/usr/src/uts/common/sys/contract.h
index 0bef407b98..faf4f62529 100644
--- a/usr/src/uts/common/sys/contract.h
+++ b/usr/src/uts/common/sys/contract.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -37,6 +37,11 @@ extern "C" {
typedef uint64_t ctevid_t;
/*
+ * Contract parameter maximum size, in bytes
+ */
+#define CT_PARAM_MAX_SIZE 8192
+
+/*
* Common event types
*/
#define CT_EV_NEGEND 0
@@ -108,8 +113,8 @@ typedef struct ct_status {
typedef struct ct_param {
uint32_t ctpm_id;
- uint32_t ctpm_pad;
- uint64_t ctpm_value;
+ uint32_t ctpm_size;
+ void *ctpm_value;
} ct_param_t;
#ifdef __cplusplus