I am trying to use libfreefare in python and I decided to use ctypes. I understood how to reproduct structures in Python, however I don't know the way to reproduce a specific thing.
Consider this structure :
struct mifare_tag {
nfc_device *device;
nfc_iso14443a_info info;
const struct supported_tag *tag_info;
int active;
};
And the following typedef :
typedef struct mifare_tag *MifareTag;
How to make the equivalent of MifareTag in ctypes ?