aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-01 21:18:58 -0800
committerGarrett D'Amore <garrett@damore.org>2017-03-01 21:18:58 -0800
commit97614393e450b6c6813021f0e733b864a6265872 (patch)
tree31c8d4d0b2206e944f797b291660d8cf52eebea0 /src/core/pipe.h
parent5436cc9e1619bf1dd80fabb568aac344ae65d406 (diff)
downloadnng-97614393e450b6c6813021f0e733b864a6265872.tar.gz
nng-97614393e450b6c6813021f0e733b864a6265872.tar.bz2
nng-97614393e450b6c6813021f0e733b864a6265872.zip
Start of msgq aio.
Diffstat (limited to 'src/core/pipe.h')
-rw-r--r--src/core/pipe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h
index 333a986d..3ec4a7a3 100644
--- a/src/core/pipe.h
+++ b/src/core/pipe.h
@@ -31,6 +31,10 @@ struct nni_pipe {
nni_thr p_worker_thr[NNI_MAXWORKERS];
};
+// AIO
+extern int nni_pipe_aio_recv(nni_pipe *, nni_aio *);
+extern int nni_pipe_aio_send(nni_pipe *, nni_aio *);
+
// Pipe operations that protocols use.
extern int nni_pipe_recv(nni_pipe *, nng_msg **);
extern int nni_pipe_send(nni_pipe *, nng_msg *);