diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-21 20:17:07 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-21 20:17:07 -0800 |
| commit | 423c776ad9b8a68196bb4d9acfbfd5b7b9c4edc6 (patch) | |
| tree | 61e7f22005ab08acb8029b20fced2ecf9fa53d13 /src/core/protocol.h | |
| parent | 68e2aea44d766c6dbe438642d2591875602c78b4 (diff) | |
| download | nng-423c776ad9b8a68196bb4d9acfbfd5b7b9c4edc6.tar.gz nng-423c776ad9b8a68196bb4d9acfbfd5b7b9c4edc6.tar.bz2 nng-423c776ad9b8a68196bb4d9acfbfd5b7b9c4edc6.zip | |
Uncrustify last couple sets of changes.
Diffstat (limited to 'src/core/protocol.h')
| -rw-r--r-- | src/core/protocol.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/protocol.h b/src/core/protocol.h index 82ebd88f..e7ea8caf 100644 --- a/src/core/protocol.h +++ b/src/core/protocol.h @@ -92,7 +92,7 @@ struct nni_proto { uint16_t proto_self; // our 16-bit D uint16_t proto_peer; // who we peer with (ID) const char * proto_name; // Our name - uint16_t proto_flags; // Protocol flags + uint16_t proto_flags; // Protocol flags const nni_proto_sock_ops * proto_sock_ops; // Per-socket opeations const nni_proto_pipe_ops * proto_pipe_ops; // Per-pipe operations. }; @@ -100,9 +100,9 @@ struct nni_proto { // These flags determine which operations make sense. We use them so that // we can reject attempts to create notification fds for operations that make // no sense. -#define NNI_PROTO_FLAG_RECV 1 // Protocol can receive -#define NNI_PROTO_FLAG_SEND 2 // Protocol can send -#define NNI_PROTO_FLAG_SENDRECV 3 // Protocol can both send & recv +#define NNI_PROTO_FLAG_RECV 1 // Protocol can receive +#define NNI_PROTO_FLAG_SEND 2 // Protocol can send +#define NNI_PROTO_FLAG_SENDRECV 3 // Protocol can both send & recv // These functions are not used by protocols, but rather by the socket // core implementation. The lookups can be used by transports as well. |
