You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2018/03/28 15:56:38 UTC

qpid-proton git commit: PROTON-1781: [c] remove new deprecation warnings for this release [Forced Update!]

Repository: qpid-proton
Updated Branches:
  refs/heads/master 2fcf5a1d7 -> bbe9195e1 (forced update)


PROTON-1781: [c] remove new deprecation warnings for this release

Remove deprecation warnings for these functions. They will be restored in a
future release but we should give people at least one release cycle to adapt to
the new names.

/* These function names will be deprecated in a future release of proton */
/**  @deprecated @{ */
/* PN_DEPRECATED("use pn_transport_local_addr") */
PNP_EXTERN const pn_netaddr_t *pn_netaddr_local(pn_transport_t *t);
/* PN_DEPRECATED("use pn_transport_remote_addr()") */
PNP_EXTERN const pn_netaddr_t *pn_netaddr_remote(pn_transport_t *t);
/* PN_DEPRECATED("use pn_listener_addr()") */
PNP_EXTERN const pn_netaddr_t *pn_netaddr_listening(pn_listener_t *l);
/** @} */


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/bbe9195e
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/bbe9195e
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/bbe9195e

Branch: refs/heads/master
Commit: bbe9195e1236a9b3ab367ec629197408f1193e08
Parents: 4bc6e12
Author: Alan Conway <ac...@redhat.com>
Authored: Wed Mar 28 11:33:22 2018 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Wed Mar 28 11:56:23 2018 -0400

----------------------------------------------------------------------
 proton-c/include/proton/netaddr.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bbe9195e/proton-c/include/proton/netaddr.h
----------------------------------------------------------------------
diff --git a/proton-c/include/proton/netaddr.h b/proton-c/include/proton/netaddr.h
index 13fcdee..4d422cf 100644
--- a/proton-c/include/proton/netaddr.h
+++ b/proton-c/include/proton/netaddr.h
@@ -105,12 +105,13 @@ PNP_EXTERN size_t pn_netaddr_socklen(const pn_netaddr_t *na);
  */
 PNP_EXTERN int pn_netaddr_host_port(const pn_netaddr_t* na, char *host, size_t hlen, char *port, size_t plen);
 
+/* These function names will be deprecated in a future release of proton */
 /**  @deprecated @{ */
-PN_DEPRECATED("use pn_transport_local_addr")
+/* PN_DEPRECATED("use pn_transport_local_addr") */
 PNP_EXTERN const pn_netaddr_t *pn_netaddr_local(pn_transport_t *t);
-PN_DEPRECATED("use pn_transport_remote_addr()")
+/* PN_DEPRECATED("use pn_transport_remote_addr()") */
 PNP_EXTERN const pn_netaddr_t *pn_netaddr_remote(pn_transport_t *t);
-PN_DEPRECATED("use pn_listener_addr()")
+/* PN_DEPRECATED("use pn_listener_addr()") */
 PNP_EXTERN const pn_netaddr_t *pn_netaddr_listening(pn_listener_t *l);
 /** @} */
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org