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
fc7d5e7f
Commit
fc7d5e7f
authored
May 03, 2016
by
Luca Boccassi
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1946 from somdoron/master
problem: no way to enable draft on windows
parents
91394d27
b3667ccc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
7 deletions
+27
-7
configure.bat
builds/msvc/configure.bat
+13
-0
zmq.h
include/zmq.h
+7
-6
precompiled.hpp
src/precompiled.hpp
+7
-1
No files found.
builds/msvc/configure.bat
View file @
fc7d5e7f
...
...
@@ -25,5 +25,18 @@ IF EXIST "..\..\..\libsodium" (
ECHO #undef HAVE_LIBSODIUM>> platform.hpp
)
:- Check if we want to build the draft API
if "%1" == "--enable-drafts" goto :with_draft
if "%1" == "--disable-drafts" goto :no_draft
IF NOT EXIST "..\..\.git" GOTO no_draft
:with_draft
ECHO Building with draft API (stable + legacy + draft API)
ECHO // Provide draft classes and methods>>platform.hpp
ECHO #define ZMQ_BUILD_DRAFT_API 1>>platform.hpp
GOTO end_draft
:no_draft
ECHO Building without draft API (stable + legacy API)
ECHO #undef ZMQ_BUILD_DRAFT_API 1>>platform.hpp
:end_draft
ECHO. >> platform.hpp
ECHO #endif>> platform.hpp
include/zmq.h
View file @
fc7d5e7f
...
...
@@ -237,11 +237,6 @@ ZMQ_EXPORT int zmq_msg_more (zmq_msg_t *msg);
ZMQ_EXPORT
int
zmq_msg_get
(
zmq_msg_t
*
msg
,
int
property
);
ZMQ_EXPORT
int
zmq_msg_set
(
zmq_msg_t
*
msg
,
int
property
,
int
optval
);
ZMQ_EXPORT
const
char
*
zmq_msg_gets
(
zmq_msg_t
*
msg
,
const
char
*
property
);
ZMQ_EXPORT
int
zmq_msg_set_routing_id
(
zmq_msg_t
*
msg
,
uint32_t
routing_id
);
ZMQ_EXPORT
uint32_t
zmq_msg_routing_id
(
zmq_msg_t
*
msg
);
ZMQ_EXPORT
int
zmq_msg_set_group
(
zmq_msg_t
*
msg
,
const
char
*
group
);
ZMQ_EXPORT
const
char
*
zmq_msg_group
(
zmq_msg_t
*
msg
);
/******************************************************************************/
/* 0MQ socket definition. */
...
...
@@ -530,10 +525,16 @@ ZMQ_EXPORT void zmq_threadclose (void* thread);
#define ZMQ_GATHER 16
#define ZMQ_SCATTER 17
/* DRAFT Socket
events.
*/
/* DRAFT Socket
methods.
*/
ZMQ_EXPORT
int
zmq_join
(
void
*
s
,
const
char
*
group
);
ZMQ_EXPORT
int
zmq_leave
(
void
*
s
,
const
char
*
group
);
/* DRAFT Msg methods. */
ZMQ_EXPORT
int
zmq_msg_set_routing_id
(
zmq_msg_t
*
msg
,
uint32_t
routing_id
);
ZMQ_EXPORT
uint32_t
zmq_msg_routing_id
(
zmq_msg_t
*
msg
);
ZMQ_EXPORT
int
zmq_msg_set_group
(
zmq_msg_t
*
msg
,
const
char
*
group
);
ZMQ_EXPORT
const
char
*
zmq_msg_group
(
zmq_msg_t
*
msg
);
/******************************************************************************/
/* Poller polling on sockets,fd and thread-safe sockets */
/******************************************************************************/
...
...
src/precompiled.hpp
View file @
fc7d5e7f
...
...
@@ -160,10 +160,16 @@
#define ZMQ_GATHER 16
#define ZMQ_SCATTER 17
/* DRAFT Socket
events.
*/
/* DRAFT Socket
methods.
*/
int
zmq_join
(
void
*
s
,
const
char
*
group
);
int
zmq_leave
(
void
*
s
,
const
char
*
group
);
/* DRAFT Msg methods. */
int
zmq_msg_set_routing_id
(
zmq_msg_t
*
msg
,
uint32_t
routing_id
);
uint32_t
zmq_msg_routing_id
(
zmq_msg_t
*
msg
);
int
zmq_msg_set_group
(
zmq_msg_t
*
msg
,
const
char
*
group
);
const
char
*
zmq_msg_group
(
zmq_msg_t
*
msg
);
/******************************************************************************/
/* Poller polling on sockets,fd and thread-safe sockets */
/******************************************************************************/
...
...
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