diff options
Diffstat (limited to 'src/rfid_protocol.c')
-rw-r--r-- | src/rfid_protocol.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rfid_protocol.c b/src/rfid_protocol.c index 46dc48d..b24243a 100644 --- a/src/rfid_protocol.c +++ b/src/rfid_protocol.c @@ -111,3 +111,8 @@ rfid_protocol_register(struct rfid_protocol *p) return 0; } + +char *rfid_protocol_name(struct rfid_protocol_handle *ph) +{ + return ph->proto->name; +} |