libchipcard  5.0.4
memorycard.h File Reference
#include <chipcard/card.h>
Include dependency graph for memorycard.h:

Go to the source code of this file.

Functions

Extending Basic Card Object
CHIPCARD_API int LC_MemoryCard_ExtendCard (LC_CARD *card)
 
CHIPCARD_API int LC_MemoryCard_UnextendCard (LC_CARD *card)
 
Reading And Writing

Normally read-/write operations are limited to about 256 bytes, so these functions encapsulate the ISO functions to allow for transfers of an arbitrary number of bytes.

CHIPCARD_API LC_CLIENT_RESULT LC_MemoryCard_ReadBinary (LC_CARD *card, int offset, int size, GWEN_BUFFER *buf)
 
CHIPCARD_API LC_CLIENT_RESULT LC_MemoryCard_WriteBinary (LC_CARD *card, int offset, const char *ptr, unsigned int size)
 
Informational Functions
CHIPCARD_API unsigned int LC_MemoryCard_GetCapacity (const LC_CARD *card)