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
47fc979b
Unverified
Commit
47fc979b
authored
Jul 27, 2019
by
Luca Boccassi
Committed by
GitHub
Jul 27, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3600 from drbitboy/master
Problem: include/zmq.h is not so much broken as inconsistent in
parents
20a4e4d1
853aa980
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
+26
-11
latchmoor-services-carcich.md
RELICENSE/latchmoor-services-carcich.md
+16
-0
zmq.h
include/zmq.h
+10
-11
No files found.
RELICENSE/latchmoor-services-carcich.md
0 → 100644
View file @
47fc979b
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
This is a statement by Latchmoor Services, LLC
that grants permission to relicense its copyrights in the libzmq C++
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other
Open Source Initiative approved license chosen by the current ZeroMQ
BDFL (Benevolent Dictator for Life).
A portion of the commits made by the Github handle "drbitboy", with
commit author "Brian Carcich
<drbitboy@gmail.com>
", are copyright of Latchmoor
Services, LLC.
This document hereby grants the libzmq project team to relicense libzmq,
including all past, present and future contributions of the author listed above.
Latchmoor Services, LLC
2019/07/26
include/zmq.h
View file @
47fc979b
...
...
@@ -493,6 +493,15 @@ zmq_send_const (void *s_, const void *buf_, size_t len_, int flags_);
ZMQ_EXPORT
int
zmq_recv
(
void
*
s_
,
void
*
buf_
,
size_t
len_
,
int
flags_
);
ZMQ_EXPORT
int
zmq_socket_monitor
(
void
*
s_
,
const
char
*
addr_
,
int
events_
);
/******************************************************************************/
/* Hide socket fd type; this was before zmq_poller_event_t typedef below */
/******************************************************************************/
#if defined _WIN32
typedef
SOCKET
zmq_fd_t
;
#else
typedef
int
zmq_fd_t
;
#endif
/******************************************************************************/
/* Deprecated I/O multiplexing. Prefer using zmq_poller API */
...
...
@@ -506,11 +515,7 @@ ZMQ_EXPORT int zmq_socket_monitor (void *s_, const char *addr_, int events_);
typedef
struct
zmq_pollitem_t
{
void
*
socket
;
#if defined _WIN32
SOCKET
fd
;
#else
int
fd
;
#endif
zmq_fd_t
fd
;
short
events
;
short
revents
;
}
zmq_pollitem_t
;
...
...
@@ -691,12 +696,6 @@ ZMQ_EXPORT const char *zmq_msg_group (zmq_msg_t *msg);
#define ZMQ_HAVE_POLLER
#if defined _WIN32
typedef
SOCKET
zmq_fd_t
;
#else
typedef
int
zmq_fd_t
;
#endif
typedef
struct
zmq_poller_event_t
{
void
*
socket
;
...
...
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