Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
9aae95e4
Commit
9aae95e4
authored
8 years ago
by
Luca Boccassi
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2314 from Asmod4n/master
add test and documentation for "draft" capability
parents
a6a56e29
b7cd6e8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
zmq_has.txt
doc/zmq_has.txt
+1
-0
test_capabilities.cpp
tests/test_capabilities.cpp
+9
-4
No files found.
doc/zmq_has.txt
View file @
9aae95e4
...
...
@@ -27,6 +27,7 @@ defined:
* norm - the library supports the norm:// protocol
* curve - the library supports the CURVE security mechanism
* gssapi - the library supports the GSSAPI security mechanism
* draft - the library is build with the draft api
When this method is provided, the zmq.h header file will define
ZMQ_HAS_CAPABILITIES.
...
...
This diff is collapsed.
Click to expand it.
tests/test_capabilities.cpp
View file @
9aae95e4
...
...
@@ -42,25 +42,25 @@ int main (void)
#else
assert
(
!
zmq_has
(
"pgm"
));
#endif
#if defined (ZMQ_HAVE_TIPC)
assert
(
zmq_has
(
"tipc"
));
#else
assert
(
!
zmq_has
(
"tipc"
));
#endif
#if defined (ZMQ_HAVE_NORM)
assert
(
zmq_has
(
"norm"
));
#else
assert
(
!
zmq_has
(
"norm"
));
#endif
#if defined (ZMQ_HAVE_CURVE)
assert
(
zmq_has
(
"curve"
));
#else
assert
(
!
zmq_has
(
"curve"
));
#endif
#if defined (HAVE_LIBGSSAPI_KRB5)
assert
(
zmq_has
(
"gssapi"
));
#else
...
...
@@ -73,5 +73,10 @@ int main (void)
assert
(
!
zmq_has
(
"vmci"
));
#endif
#if defined (ZMQ_BUILD_DRAFT_API)
assert
(
zmq_has
(
"draft"
));
#else
assert
(
!
zmq_has
(
"draft"
));
#endif
return
0
;
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment