]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/blobdiff - mt_rfid.h
queue improved
[coffee/mt-apps.git] / mt_rfid.h
index 7dfa6c98c64cd1b7c68c56ca59f63ca8d98ca5d3..fad9390290dd02e027eacc07f371a038d7e81ffd 100644 (file)
--- a/mt_rfid.h
+++ b/mt_rfid.h
@@ -24,6 +24,7 @@ typedef struct mt_rfid_t {
 } mt_rfid_t;
 
 // connect to the reader, add self to loop and make it write to fd
+// return 0 on success, negative number otherwise
 int mt_rfid_init(mt_rfid_t *self, struct ev_loop *loop, int fd);
 
 // disconnect from reader