aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/pyhelper.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-11-30 11:33:44 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-11-30 13:33:16 -0500
commitb14db404b55424ef783a163a02da8868120b36c9 (patch)
treea100ccc1d8a63af86f0fa57fa70c48c124014ad9 /klippy/pyhelper.h
parent7cb71df02cbe417798067a4f68a62dcbca8be025 (diff)
downloadkutter-b14db404b55424ef783a163a02da8868120b36c9.tar.gz
kutter-b14db404b55424ef783a163a02da8868120b36c9.tar.xz
kutter-b14db404b55424ef783a163a02da8868120b36c9.zip
pyhelper: Move helper functions from serialqueue.c to new file
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/pyhelper.h')
-rw-r--r--klippy/pyhelper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/klippy/pyhelper.h b/klippy/pyhelper.h
new file mode 100644
index 00000000..ccf16ab8
--- /dev/null
+++ b/klippy/pyhelper.h
@@ -0,0 +1,9 @@
+#ifndef PYHELPER_H
+#define PYHELPER_H
+
+double get_time(void);
+struct timespec fill_time(double time);
+void report_errno(char *where, int rc);
+char *dump_string(char *outbuf, int outbuf_size, char *inbuf, int inbuf_size);
+
+#endif // pyhelper.h