qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject qpid-proton git commit: PROTON-1816: [c] deprecate old netaddr function names
Date Mon, 06 Aug 2018 14:52:19 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master c64dc0cdc -> 38a8ab79f


PROTON-1816: [c] deprecate old netaddr function names


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

Branch: refs/heads/master
Commit: 38a8ab79f9da96ff0fdd8ce12a3c7b6d827b8430
Parents: c64dc0c
Author: Alan Conway <aconway@redhat.com>
Authored: Mon Aug 6 10:52:07 2018 -0400
Committer: Alan Conway <aconway@redhat.com>
Committed: Mon Aug 6 10:52:07 2018 -0400

----------------------------------------------------------------------
 c/include/proton/netaddr.h | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/38a8ab79/c/include/proton/netaddr.h
----------------------------------------------------------------------
diff --git a/c/include/proton/netaddr.h b/c/include/proton/netaddr.h
index 39e5478..cf4791c 100644
--- a/c/include/proton/netaddr.h
+++ b/c/include/proton/netaddr.h
@@ -106,10 +106,15 @@ 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);
 
 /**  @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);
+
 /**  @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);
+
 /** @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


Mime
View raw message