~ubuntu-branches/ubuntu/precise/trousers/precise-proposed

« back to all changes in this revision

Viewing changes to man/man3/Tspi_Context_Create.3

  • Committer: Bazaar Package Importer
  • Author(s): William Lima
  • Date: 2007-04-18 16:39:38 UTC
  • Revision ID: james.westby@ubuntu.com-20070418163938-opscl2mvvi76jiec
Tags: upstream-0.2.9.1
ImportĀ upstreamĀ versionĀ 0.2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" Copyright (C) 2005 International Business Machines Corporation
 
2
.\" Written by Kent Yoder based on the Trusted Computing Group Software Stack Specification Version 1.1 Golden
 
3
.\"
 
4
.de Sh \" Subsection
 
5
.br
 
6
.if t .Sp
 
7
.ne 5
 
8
.PP
 
9
\fB\\$1\fR
 
10
.PP
 
11
..
 
12
.de Sp \" Vertical space (when we can't use .PP)
 
13
.if t .sp .5v
 
14
.if n .sp
 
15
..
 
16
.de Ip \" List item
 
17
.br
 
18
.ie \\n(.$>=3 .ne \\$3
 
19
.el .ne 3
 
20
.IP "\\$1" \\$2
 
21
..
 
22
.TH "Tspi_Context_Create" 3 "2004-05-26" "TSS 1.1" "TCG Software Stack Developer's Reference"
 
23
.SH NAME
 
24
Tspi_Context_Create \- create a TSP context handle.
 
25
.SH "SYNOPSIS"
 
26
.ad l
 
27
.hy 0
 
28
.nf
 
29
.B #include <tss/platform.h>
 
30
.B #include <tss/tcpa_defines.h>
 
31
.B #include <tss/tcpa_typedef.h>
 
32
.B #include <tss/tcpa_struct.h>
 
33
.B #include <tss/tss_typedef.h>
 
34
.B #include <tss/tss_structs.h>
 
35
.B #include <tss/tspi.h>
 
36
.sp
 
37
.BI "TSS_RESULT Tspi_Context_Create(TSS_HCONTEXT* " phContext ");"
 
38
.fi
 
39
.sp
 
40
.ad
 
41
.hy
 
42
.SH "DESCRIPTION"
 
43
.PP
 
44
\fBTspi_Context_Create\fR creates a handle to a new context object. The context is then used by other API functions to track resources related to it.
 
45
.SH "PARAMETERS"
 
46
.PP
 
47
.SS phContext
 
48
Receives the handle to the created context object.
 
49
 
 
50
.SH "RETURN CODES"
 
51
.PP
 
52
\fBTspi_Context_Create\fR returns TSS_SUCCESS on success, otherwise one of the following values are returned:
 
53
.TP
 
54
.SM TSS_E_INTERNAL_ERROR - An internal error occurred in the TSS.
 
55
 
 
56
.SH "CONFORMING TO"
 
57
 
 
58
.PP
 
59
\fBTspi_Context_Create\fR conforms to the Trusted Computing Group Software Specification version 1.1 Golden
 
60
.SH "SEE ALSO"
 
61
 
 
62
.PP
 
63
\fBTspi_Context_Close\fR(3), \fBTspi_Context_Connect\fR(3).
 
64
 
 
65
 
 
66