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
7e700f1e
Commit
7e700f1e
authored
May 02, 2016
by
Luca Boccassi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: client/server are not yet stable APIs
Solution: mark them as DRAFT APIs
parent
064cd1fb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
13 deletions
+18
-13
Makefile.am
Makefile.am
+8
-9
zmq.h
include/zmq.h
+4
-2
precompiled.hpp
src/precompiled.hpp
+4
-0
CMakeLists.txt
tests/CMakeLists.txt
+2
-2
No files found.
Makefile.am
View file @
7e700f1e
...
...
@@ -391,8 +391,6 @@ test_apps = \
tests/test_xpub_manual
\
tests/test_xpub_welcome_msg
\
tests/test_atomics
\
tests/test_client_server
\
tests/test_thread_safe
\
tests/test_sockopt_hwm
\
tests/test_heartbeats
\
tests/test_stream_exceeds_buffer
\
...
...
@@ -588,12 +586,6 @@ tests_test_xpub_welcome_msg_LDADD = src/libzmq.la
tests_test_atomics_SOURCES
=
tests/test_atomics.cpp
tests_test_atomics_LDADD
=
src/libzmq.la
tests_test_client_server_SOURCES
=
tests/test_client_server.cpp
tests_test_client_server_LDADD
=
src/libzmq.la
tests_test_thread_safe_SOURCES
=
tests/test_thread_safe.cpp
tests_test_thread_safe_LDADD
=
src/libzmq.la
tests_test_sockopt_hwm_SOURCES
=
tests/test_sockopt_hwm.cpp
tests_test_sockopt_hwm_LDADD
=
src/libzmq.la
...
...
@@ -741,7 +733,14 @@ test_reqrep_vmci_CXXFLAGS = @LIBZMQ_VMCI_CXXFLAGS@
endif
if
ENABLE_DRAFTS
test_apps
+=
test_apps
+=
tests/test_client_server
\
tests/test_thread_safe
tests_test_client_server_SOURCES
=
tests/test_client_server.cpp
tests_test_client_server_LDADD
=
src/libzmq.la
tests_test_thread_safe_SOURCES
=
tests/test_thread_safe.cpp
tests_test_thread_safe_LDADD
=
src/libzmq.la
endif
check_PROGRAMS
=
${
test_apps
}
...
...
include/zmq.h
View file @
7e700f1e
...
...
@@ -260,8 +260,6 @@ ZMQ_EXPORT const char *zmq_msg_group (zmq_msg_t *msg);
#define ZMQ_XPUB 9
#define ZMQ_XSUB 10
#define ZMQ_STREAM 11
#define ZMQ_SERVER 12
#define ZMQ_CLIENT 13
#define ZMQ_RADIO 14
#define ZMQ_DISH 15
#define ZMQ_GATHER 16
...
...
@@ -582,6 +580,10 @@ ZMQ_EXPORT void zmq_threadclose (void* thread);
#ifdef ZMQ_BUILD_DRAFT_API
/* DRAFT Socket types. */
#define ZMQ_SERVER 12
#define ZMQ_CLIENT 13
#endif // ZMQ_BUILD_DRAFT_API
...
...
src/precompiled.hpp
View file @
7e700f1e
...
...
@@ -152,6 +152,10 @@
#ifndef ZMQ_BUILD_DRAFT_API
/* DRAFT Socket types. */
#define ZMQ_SERVER 12
#define ZMQ_CLIENT 13
#endif // ZMQ_BUILD_DRAFT_API
#endif //ifndef __ZMQ_PRECOMPILED_HPP_INCLUDED__
tests/CMakeLists.txt
View file @
7e700f1e
...
...
@@ -52,8 +52,6 @@ set(tests
test_connect_rid
test_xpub_nodrop
test_pub_invert_matching
test_thread_safe
test_client_server
test_setsockopt
test_sockopt_hwm
test_heartbeats
...
...
@@ -120,6 +118,8 @@ endif()
IF
(
ENABLE_DRAFTS
)
list
(
APPEND tests
test_thread_safe
test_client_server
)
ENDIF
(
ENABLE_DRAFTS
)
...
...
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