diff options
| author | Jan Sucan <sucanjan@fit.cvut.cz> | 2019-06-04 14:34:27 +0200 |
|---|---|---|
| committer | Jan Sucan <sucanjan@fit.cvut.cz> | 2019-06-04 14:34:27 +0200 |
| commit | dc8703206e3f0f69605c56d0e1127f7e17f3476a (patch) | |
| tree | 166823a741dc420c10d54250cb53d1e3a6b74faf /testing/yup-comm/mailslot.h | |
Initial commit
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); |
