summaryrefslogtreecommitdiff
path: root/src/rfid_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfid_protocol.c')
-rw-r--r--src/rfid_protocol.c5
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;
+}
personal git repositories of Harald Welte. Your mileage may vary