summaryrefslogtreecommitdiff
path: root/src/gp.h
blob: 01d4042b800ce09e157a958e272cce6b4f15ac27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * defines the entry point for the Global Plarform Applet emulation. Only used
 * by vcard_emul_type.c
 *
 * Copyright 2018 Red Hat, Inc.
 *
 * Author: Jakub Jelen <jjelen@redhat.com>
 *
 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
 * See the COPYING file in the top-level directory.
 */
#ifndef GP_H
#define GP_H 1

#include "vcard.h"
#include "vreader.h"

#define GP_GET_DATA                           0xCA

/*
 * Initialize the Global Platform Applet. This is the only public function in
 * this file. All the rest are connected through function pointers.
 */
VCardStatus
gp_card_init(VReader *reader, VCard *card);

#endif