diff options
author | acruz <none@none> | 2008-02-25 11:01:04 -0800 |
---|---|---|
committer | acruz <none@none> | 2008-02-25 11:01:04 -0800 |
commit | 7b209c2cc5ea45251aba06dcc6181d3f23da807a (patch) | |
tree | db92a12506ec33965457a31f4ef6deef468d8902 /usr/src/uts/common/sys/contract.h | |
parent | 253f5c5de73715b2f8a40cc25aeb832cad8deb26 (diff) | |
download | illumos-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.h | 11 |
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 |