From dc8703206e3f0f69605c56d0e1127f7e17f3476a Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Tue, 4 Jun 2019 14:34:27 +0200 Subject: Initial commit --- testing/yup-comm/mailslot.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 testing/yup-comm/mailslot.h (limited to 'testing/yup-comm/mailslot.h') diff --git a/testing/yup-comm/mailslot.h b/testing/yup-comm/mailslot.h new file mode 100644 index 0000000..78fc0d9 --- /dev/null +++ b/testing/yup-comm/mailslot.h @@ -0,0 +1,9 @@ +/* Author: Jan Sucan */ + +#include + +HANDLE mailslot_create(const char * const name); +unsigned mailslot_read(HANDLE slot, char * const buf, unsigned buf_size); +HANDLE mailslot_connect(const char * const name); +int mailslot_write(HANDLE slot, char * const buf, unsigned buf_size); +void mailslot_close(HANDLE slot); -- cgit v1.2.3