libchipcard 5.1.6
memorycard.h
Go to the documentation of this file.
1/***************************************************************************
2 begin : Mon Mar 01 2004
3 copyright : (C) 2004-2010 by Martin Preuss
4 email : martin@libchipcard.de
5
6 ***************************************************************************
7 * Please see toplevel file COPYING for license details *
8 ***************************************************************************/
9
10
11#ifndef CHIPCARD_CARD_MEMORYCARD_H
12#define CHIPCARD_CARD_MEMORYCARD_H
13
14#include <chipcard/card.h>
15
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21
27
38
65 int offset,
66 int size,
67 GWEN_BUFFER *buf);
68
78 int offset,
79 const char *ptr,
80 unsigned int size);
92unsigned int LC_MemoryCard_GetCapacity(const LC_CARD *card); /* defgroup */
96
97
98#ifdef __cplusplus
99}
100#endif
101
102
103
104#endif /* CHIPCARD_CARD_MEMORYCARD_H */
105
106
struct LC_CARD LC_CARD
Definition card.h:25
#define CHIPCARD_API
Definition chipcard.h:50
LC_CLIENT_RESULT
Definition client.h:40
CHIPCARD_API int LC_MemoryCard_ExtendCard(LC_CARD *card)
CHIPCARD_API LC_CLIENT_RESULT LC_MemoryCard_WriteBinary(LC_CARD *card, int offset, const char *ptr, unsigned int size)
CHIPCARD_API LC_CLIENT_RESULT LC_MemoryCard_ReadBinary(LC_CARD *card, int offset, int size, GWEN_BUFFER *buf)
CHIPCARD_API unsigned int LC_MemoryCard_GetCapacity(const LC_CARD *card)
CHIPCARD_API int LC_MemoryCard_UnextendCard(LC_CARD *card)