xref: /titanic_52/usr/src/man/man3lib/libcontract.3lib (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
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 "Feb 25, 2008"
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_abandon ct_ctl_ack
ct_ctl_adopt ct_ctl_nack
ct_ctl_newct ct_ctl_qack
ct_dev_status_get_aset ct_dev_status_get_dev_state
ct_dev_status_get_minor ct_dev_status_get_noneg
ct_dev_tmpl_clear_noneg ct_dev_tmpl_get_aset
ct_dev_tmpl_get_minor ct_dev_tmpl_get_noneg
ct_dev_tmpl_set_aset ct_dev_tmpl_set_minor
ct_dev_tmpl_set_noneg ct_event_free
ct_event_get_ctid ct_event_get_evid
ct_event_get_flags ct_event_get_nevid
ct_event_get_newct ct_event_get_type
ct_event_read ct_event_read_critical
ct_event_reliable ct_event_reset
ct_pr_event_get_exitstatus ct_pr_event_get_gcorefile
ct_pr_event_get_pcorefile ct_pr_event_get_pid
ct_pr_event_get_ppid ct_pr_event_get_sender
ct_pr_event_get_senderct ct_pr_event_get_signal
ct_pr_event_get_zcorefile ct_pr_status_get_contracts
ct_pr_status_get_fatal ct_pr_status_get_members
ct_pr_status_get_param ct_pr_status_get_aux
ct_pr_status_get_creator ct_pr_status_get_ctid
ct_pr_status_get_fmri ct_pr_tmpl_get_fatal
ct_pr_tmpl_get_param ct_pr_tmpl_get_transfer
ct_pr_tmpl_set_fatal ct_pr_tmpl_set_param
ct_pr_tmpl_set_transfer ct_status_free
ct_status_get_cookie ct_status_get_critical
ct_status_get_holder ct_status_get_id
ct_status_get_informative ct_status_get_nevents
ct_status_get_nevid ct_status_get_ntime
ct_status_get_qtime ct_status_get_state
ct_status_get_type ct_status_get_zoneid
ct_status_read ct_tmpl_activate
ct_tmpl_clear ct_tmpl_create
ct_tmpl_get_cookie ct_tmpl_get_critical
ct_tmpl_get_informative ct_tmpl_get_svc_aux
ct_tmpl_get_svc_fmri ct_tmpl_set_cookie
ct_tmpl_set_critical ct_tmpl_set_informative
ct_tmpl_set_svc_aux ct_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 TYPE ATTRIBUTE VALUE
Interface Stability Committed
MT-Level Safe
SEE ALSO

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