Merge branch 'less_closed'
[unleashed.git] / usr / src / man / man3lib / libtsnet.3lib
blob224cc4eca0121257237cdb915fab143a639a3c93
1 '\" te
2 .\" Copyright 2006, Sun Microsystems Inc. All rights reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH LIBTSNET 3LIB "Mar 7, 2006"
7 .SH NAME
8 libtsnet \- Solaris Trusted Extensions network library
9 .SH SYNOPSIS
10 .LP
11 .nf
12 cc [ \fIflag\fR... ] \fIfile\fR...  [ \fIlibrary\fR... ]
13 #include <\fBlibtsnet.h\fR>
14 #include <\fBsys/tsol/tndb.h\fR>
15 .fi
17 .SH DESCRIPTION
18 .sp
19 .LP
20 Functions in this library provide programmatic access to Solaris Trusted
21 Extensions features such as labels and Mandatory Access Policy (MAC). These
22 functions are available on systems that are configured with Trusted Extensions
23 software.
24 .SH INTERFACES
25 .sp
26 .LP
27 The shared object \fBlibtsnet.so.1\fR provides the public interfaces that are
28 defined below.  See \fBIntro\fR(3) for additional information on shared object
29 interfaces.
30 .sp
32 .sp
33 .TS
34 l l .
35 \fBtsol_getrhtype\fR    
36 .TE
38 .SH FILES
39 .sp
40 .ne 2
41 .na
42 \fB\fB/lib/libtsnet.so.1\fR\fR
43 .ad
44 .RS 25n
45 shared object
46 .RE
48 .sp
49 .ne 2
50 .na
51 \fB\fB/lib/64/libtsnet.so.1\fR\fR
52 .ad
53 .RS 25n
54 64-bit shared object
55 .RE
57 .SH ATTRIBUTES
58 .sp
59 .LP
60 See \fBattributes\fR(5) for descriptions of the following attributes:
61 .sp
63 .sp
64 .TS
65 box;
66 c | c
67 l | l .
68 ATTRIBUTE TYPE  ATTRIBUTE VALUE
69 Interface Stability     Stable
71 MT-Level        Safe
72 .TE
74 .SH SEE ALSO
75 .sp
76 .LP
77 \fBIntro\fR(3), \fBlibtsol\fR(3LIB), \fBattributes\fR(5)