~ubuntu-branches/ubuntu/karmic/opensc/karmic-updates

« back to all changes in this revision

Viewing changes to doc/man.out/sc_find_app_by_aid.3

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-29 03:56:10 UTC
  • mto: (8.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090329035610-y7v5a3f0852p4da8
Tags: upstream-0.11.7
ImportĀ upstreamĀ versionĀ 0.11.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"     Title: sc_find_app_by_aid
 
2
.\"    Author: 
 
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
 
4
.\"      Date: 02/26/2009
 
5
.\"    Manual: OpenSC API reference
 
6
.\"    Source: opensc
 
7
.\"
 
8
.TH "SC_FIND_APP_BY_AID" "3" "02/26/2009" "opensc" "OpenSC API reference"
 
9
.\" disable hyphenation
 
10
.nh
 
11
.\" disable justification (adjust text to left margin only)
 
12
.ad l
 
13
.SH "NAME"
 
14
sc_find_app_by_aid \- Find an application on a card
 
15
.SH "SYNOPSIS"
 
16
.PP
 
17
 
 
18
.sp
 
19
.RS 4
 
20
.nf
 
21
#include <opensc\&.h>
 
22
 
 
23
const sc_app_info_t *sc_find_app_by_aid(sc_card_t *card,
 
24
                                        const unsigned char *aid,
 
25
                                        size_t aid_len);
 
26
                
 
27
.fi
 
28
.RE
 
29
.sp
 
30
.SH "DESCRIPTION"
 
31
.PP
 
32
This function finds an application on
 
33
\fIcard\fR
 
34
by its
 
35
\fIaid\fR\&. The AID\'s length is specified in
 
36
\fIaid_len\fR\&.
 
37
.PP
 
38
Before calling this function, you MUST call
 
39
sc_enum_apps()
 
40
first\&.
 
41
.SH "RETURN VALUE"
 
42
.PP
 
43
Returns a
 
44
sc_app_info_t
 
45
structure describing the application corresponding to
 
46
\fIaid\fR, or NULL if none was found\&.