diff options
Diffstat (limited to 'testing/yup-comm/mailslot.h')
| -rw-r--r-- | testing/yup-comm/mailslot.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <windows.h> + +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); |
