Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: DRAFT zsock_new_*_checked symbols leak #1559

Merged
merged 1 commit into from
Nov 17, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/zsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ struct _zsock_t {
uint32_t routing_id; // Routing ID for server sockets
};

#ifndef CZMQ_BUILD_DRAFT_API
CZMQ_PRIVATE zsock_t *
zsock_new_server_checked (const char *endpoint, const char *filename, size_t line_nbr);

CZMQ_PRIVATE zsock_t *
zsock_new_client_checked (const char *endpoint, const char *filename, size_t line_nbr);

CZMQ_PRIVATE zsock_t *
zsock_new_radio_checked (const char *endpoint, const char *filename, size_t line_nbr);

CZMQ_PRIVATE zsock_t *
zsock_new_dish_checked (const char *endpoint, const char *filename, size_t line_nbr);

CZMQ_PRIVATE zsock_t *
zsock_new_gather_checked (const char *endpoint, const char *filename, size_t line_nbr);

CZMQ_PRIVATE zsock_t *
zsock_new_scatter_checked (const char *endpoint, const char *filename, size_t line_nbr);
#endif // CZMQ_BUILD_DRAFT_API


// --------------------------------------------------------------------------
// Create a new socket. This macro passes the caller source and line
Expand Down