PROTON-1403: Export pn_listener APIs from libqpid_proton_proactor library
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/31b8cc65 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/31b8cc65 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/31b8cc65 Branch: refs/heads/go1 Commit: 31b8cc654f8e76ffd29f36bf808815ea22a13d9a Parents: 03071a1 Author: Andrew Stitcher <astitc...@apache.org> Authored: Mon Feb 13 10:59:02 2017 -0500 Committer: Andrew Stitcher <astitc...@apache.org> Committed: Mon Feb 13 11:02:04 2017 -0500 ---------------------------------------------------------------------- proton-c/include/proton/listener.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/31b8cc65/proton-c/include/proton/listener.h ---------------------------------------------------------------------- diff --git a/proton-c/include/proton/listener.h b/proton-c/include/proton/listener.h index 4656ee4..18feca7 100644 --- a/proton-c/include/proton/listener.h +++ b/proton-c/include/proton/listener.h @@ -46,19 +46,19 @@ extern "C" { * You must pass the returned listener to pn_proactor_listen(), the proactor * will free the listener when it is no longer active. */ -PN_EXTERN pn_listener_t *pn_listener(void); +PNP_EXTERN pn_listener_t *pn_listener(void); /** * Asynchronously accept a connection using the listener. * * @param[in] connection the listener takes ownership, do not free. */ -PN_EXTERN int pn_listener_accept(pn_listener_t*, pn_connection_t *connection); +PNP_EXTERN int pn_listener_accept(pn_listener_t*, pn_connection_t *connection); /** * Get the error condition for a listener. */ -PN_EXTERN pn_condition_t *pn_listener_condition(pn_listener_t *l); +PNP_EXTERN pn_condition_t *pn_listener_condition(pn_listener_t *l); /** * @cond INTERNAL @@ -69,14 +69,14 @@ PN_EXTERN pn_condition_t *pn_listener_condition(pn_listener_t *l); * * Get the application context that is associated with a listener. */ -PN_EXTERN void *pn_listener_get_context(pn_listener_t *listener); +PNP_EXTERN void *pn_listener_get_context(pn_listener_t *listener); /** * @deprecated * * Set a new application context for a listener. */ -PN_EXTERN void pn_listener_set_context(pn_listener_t *listener, void *context); +PNP_EXTERN void pn_listener_set_context(pn_listener_t *listener, void *context); /** * @endcond @@ -85,17 +85,17 @@ PN_EXTERN void pn_listener_set_context(pn_listener_t *listener, void *context); /** * Get the attachments that are associated with a listener object. */ -PN_EXTERN pn_record_t *pn_listener_attachments(pn_listener_t *listener); +PNP_EXTERN pn_record_t *pn_listener_attachments(pn_listener_t *listener); /** * Close the listener (thread safe). */ -PN_EXTERN void pn_listener_close(pn_listener_t *l); +PNP_EXTERN void pn_listener_close(pn_listener_t *l); /** * The proactor associated with a listener. */ -PN_EXTERN pn_proactor_t *pn_listener_proactor(pn_listener_t *c); +PNP_EXTERN pn_proactor_t *pn_listener_proactor(pn_listener_t *c); /** --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org