diff options
Diffstat (limited to 'src/core/pipe.h')
| -rw-r--r-- | src/core/pipe.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h index 32871335..ea0c16db 100644 --- a/src/core/pipe.h +++ b/src/core/pipe.h @@ -57,7 +57,10 @@ extern void nni_pipe_start(nni_pipe *); extern uint16_t nni_pipe_proto(nni_pipe *); extern uint16_t nni_pipe_peer(nni_pipe *); -extern int nni_pipe_getopt(nni_pipe *, const char *, void *, size_t *); + +// nni_pipe_getopt looks up the option. The last argument is the type, +// which. If the type is NNI_TYPE_OPAQUE, then no format check is performed. +extern int nni_pipe_getopt(nni_pipe *, const char *, void *, size_t *, int); // nni_pipe_get_proto_data gets the protocol private data set with the // nni_pipe_set_proto_data function. No locking is performed. |
