summaryrefslogtreecommitdiff
path: root/openpicc/application/usb_print.h
diff options
context:
space:
mode:
Diffstat (limited to 'openpicc/application/usb_print.h')
-rw-r--r--openpicc/application/usb_print.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/openpicc/application/usb_print.h b/openpicc/application/usb_print.h
new file mode 100644
index 0000000..9186dc9
--- /dev/null
+++ b/openpicc/application/usb_print.h
@@ -0,0 +1,15 @@
+#ifndef USB_PRINT_H_
+#define USB_PRINT_H_
+
+extern void usb_print_buffer(const char* buffer, int start, int stop);
+extern int usb_print_buffer_f(const char* buffer, int start, int stop, int flush);
+extern void usb_print_string(const char *string);
+extern int usb_print_string_f(const char* string, int flush);
+extern void usb_print_char(const char c);
+extern int usb_print_char_f(const char c, int flush);
+extern void usb_print_flush(void);
+extern int usb_print_get_default_flush(void);
+extern int usb_print_set_default_flush(int flush);
+extern void usb_print_init(void);
+
+#endif /*USB_PRINT_H_*/
personal git repositories of Harald Welte. Your mileage may vary