xref: /titanic_41/usr/src/man/man3lib/libcontract.3lib (revision 49d3bc91e27cd871b950d56c01398fa2f2e12ab4)
te
Copyright (c) 2008, Sun Microsystems, Inc. All rights reserved.
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.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
libcontract 3LIB "25 Feb 2008" "SunOS 5.11" "Interface Libraries"
NAME
libcontract - contract management library
SYNOPSIS

cc [ flag... ] `getconf LFS_CFLAGS` file... -lcontract [ library... ]
#include <libcontract.h>
DESCRIPTION

Functions in this library provide various interfaces to interact with the contract(4) file system. The header provides structure and function declarations for all library interfaces.

INTERFACES

The shared object libcontract.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

ct_ctl_abandonct_ctl_ack
ct_ctl_adoptct_ctl_nack
ct_ctl_newctct_ctl_qack
ct_dev_status_get_asetct_dev_status_get_dev_state
ct_dev_status_get_minorct_dev_status_get_noneg
ct_dev_tmpl_clear_nonegct_dev_tmpl_get_aset
ct_dev_tmpl_get_minorct_dev_tmpl_get_noneg
ct_dev_tmpl_set_asetct_dev_tmpl_set_minor
ct_dev_tmpl_set_nonegct_event_free
ct_event_get_ctidct_event_get_evid
ct_event_get_flagsct_event_get_nevid
ct_event_get_newctct_event_get_type
ct_event_readct_event_read_critical
ct_event_reliablect_event_reset
ct_pr_event_get_exitstatusct_pr_event_get_gcorefile
ct_pr_event_get_pcorefilect_pr_event_get_pid
ct_pr_event_get_ppidct_pr_event_get_sender
ct_pr_event_get_senderctct_pr_event_get_signal
ct_pr_event_get_zcorefilect_pr_status_get_contracts
ct_pr_status_get_fatalct_pr_status_get_members
ct_pr_status_get_paramct_pr_status_get_aux
ct_pr_status_get_creatorct_pr_status_get_ctid
ct_pr_status_get_fmrict_pr_tmpl_get_fatal
ct_pr_tmpl_get_paramct_pr_tmpl_get_transfer
ct_pr_tmpl_set_fatalct_pr_tmpl_set_param
ct_pr_tmpl_set_transferct_status_free
ct_status_get_cookiect_status_get_critical
ct_status_get_holderct_status_get_id
ct_status_get_informativect_status_get_nevents
ct_status_get_nevidct_status_get_ntime
ct_status_get_qtimect_status_get_state
ct_status_get_typect_status_get_zoneid
ct_status_readct_tmpl_activate
ct_tmpl_clearct_tmpl_create
ct_tmpl_get_cookiect_tmpl_get_critical
ct_tmpl_get_informativect_tmpl_get_svc_aux
ct_tmpl_get_svc_fmrict_tmpl_set_cookie
ct_tmpl_set_criticalct_tmpl_set_informative
ct_tmpl_set_svc_auxct_tmpl_set_svc_fmri
FILES

/usr/lib/libcontract.so.1

shared object

/usr/lib/64/libcontract.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityCommitted
MT-LevelSafe
SEE ALSO

pvs(1), Intro(3), contract(4), attributes(5), lfcompile(5)