qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jr...@apache.org
Subject qpid-proton git commit: PROTON-1921: Capitalize the warning messages; stub in (disabled) warnings for pn_*_error
Date Tue, 28 Aug 2018 19:40:27 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 31fdab2d9 -> 9ee89ba15


PROTON-1921: Capitalize the warning messages; stub in (disabled) warnings for pn_*_error


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

Branch: refs/heads/master
Commit: 9ee89ba157e5a181b11756a7c85907ff1082f0e9
Parents: 31fdab2
Author: Justin Ross <jross@apache.org>
Authored: Tue Aug 28 12:40:13 2018 -0700
Committer: Justin Ross <jross@apache.org>
Committed: Tue Aug 28 12:40:13 2018 -0700

----------------------------------------------------------------------
 c/include/proton/connection.h |   3 +-
 c/include/proton/link.h       |   3 +-
 c/include/proton/messenger.h  | 124 ++++++++++++++++++-------------------
 c/include/proton/netaddr.h    |   6 +-
 c/include/proton/session.h    |   3 +-
 c/include/proton/url.h        |  34 +++++-----
 6 files changed, 88 insertions(+), 85 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9ee89ba1/c/include/proton/connection.h
----------------------------------------------------------------------
diff --git a/c/include/proton/connection.h b/c/include/proton/connection.h
index 327d82c..ae8907b 100644
--- a/c/include/proton/connection.h
+++ b/c/include/proton/connection.h
@@ -118,7 +118,7 @@ PN_EXTERN void pn_connection_free(pn_connection_t *connection);
 PN_EXTERN void pn_connection_release(pn_connection_t *connection);
 
 /**
- * **Deprecated**
+ * **Deprecated** - Use ::pn_connection_condition().
  *
  * Get additional error information associated with the connection.
  *
@@ -133,6 +133,7 @@ PN_EXTERN void pn_connection_release(pn_connection_t *connection);
  * @param[in] connection the connection object
  * @return the connection's error object
  */
+/* PN_DEPRECATED("Use pn_connection_condition") */
 PN_EXTERN pn_error_t *pn_connection_error(pn_connection_t *connection);
 
 /**

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9ee89ba1/c/include/proton/link.h
----------------------------------------------------------------------
diff --git a/c/include/proton/link.h b/c/include/proton/link.h
index 9cc3e7f..0d45df9 100644
--- a/c/include/proton/link.h
+++ b/c/include/proton/link.h
@@ -145,7 +145,7 @@ PN_EXTERN bool pn_link_is_receiver(pn_link_t *link);
 PN_EXTERN pn_state_t pn_link_state(pn_link_t *link);
 
 /**
- * **Deprecated**
+ * **Deprecated** - Use ::pn_link_condition().
  *
  * Get additional error information associated with the link.
  *
@@ -160,6 +160,7 @@ PN_EXTERN pn_state_t pn_link_state(pn_link_t *link);
  * @param[in] link the link object
  * @return the link's error object
  */
+/* PN_DEPRECATED("Use pn_link_condition") */
 PN_EXTERN pn_error_t *pn_link_error(pn_link_t *link);
 
 /**

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9ee89ba1/c/include/proton/messenger.h
----------------------------------------------------------------------
diff --git a/c/include/proton/messenger.h b/c/include/proton/messenger.h
index 68afcee..0a21826 100644
--- a/c/include/proton/messenger.h
+++ b/c/include/proton/messenger.h
@@ -190,7 +190,7 @@ typedef enum {
  *
  * @return pointer to a new ::pn_messenger_t
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_messenger_t *pn_messenger(const char *name);
 
 /**
@@ -199,7 +199,7 @@ PNX_EXTERN pn_messenger_t *pn_messenger(const char *name);
  * @param[in] messenger a messenger object
  * @return the name of the messenger
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN const char *pn_messenger_name(pn_messenger_t *messenger);
 
 /**
@@ -211,7 +211,7 @@ PNX_EXTERN const char *pn_messenger_name(pn_messenger_t *messenger);
  * @param[in] certificate a path to a certificate file
  * @return an error code of zero if there is no error
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_certificate(pn_messenger_t *messenger, const char *certificate);
 
 /**
@@ -221,7 +221,7 @@ PNX_EXTERN int pn_messenger_set_certificate(pn_messenger_t *messenger,
const cha
  * @param[in] messenger the messenger
  * @return the certificate file path
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN const char *pn_messenger_get_certificate(pn_messenger_t *messenger);
 
 /**
@@ -232,7 +232,7 @@ PNX_EXTERN const char *pn_messenger_get_certificate(pn_messenger_t *messenger);
  * @param[in] private_key a path to a private key file
  * @return an error code of zero if there is no error
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_private_key(pn_messenger_t *messenger, const char *private_key);
 
 /**
@@ -241,7 +241,7 @@ PNX_EXTERN int pn_messenger_set_private_key(pn_messenger_t *messenger,
const cha
  * @param[in] messenger a messenger object
  * @return the messenger's private key file path
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN const char *pn_messenger_get_private_key(pn_messenger_t *messenger);
 
 /**
@@ -252,7 +252,7 @@ PNX_EXTERN const char *pn_messenger_get_private_key(pn_messenger_t *messenger);
  *
  * @return an error code of zero if there is no error
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_password(pn_messenger_t *messenger, const char *password);
 
 /**
@@ -261,7 +261,7 @@ PNX_EXTERN int pn_messenger_set_password(pn_messenger_t *messenger, const
char *
  * @param[in] messenger a messenger object
  * @return password for the private key file
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN const char *pn_messenger_get_password(pn_messenger_t *messenger);
 
 /**
@@ -275,7 +275,7 @@ PNX_EXTERN const char *pn_messenger_get_password(pn_messenger_t *messenger);
  *
  * @return an error code of zero if there is no error
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_trusted_certificates(pn_messenger_t *messenger, const char
*cert_db);
 
 /**
@@ -284,7 +284,7 @@ PNX_EXTERN int pn_messenger_set_trusted_certificates(pn_messenger_t *messenger,
  * @param[in] messenger a messenger object
  * @return path to the trusted certificates database
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN const char *pn_messenger_get_trusted_certificates(pn_messenger_t *messenger);
 
 /**
@@ -299,7 +299,7 @@ PNX_EXTERN const char *pn_messenger_get_trusted_certificates(pn_messenger_t
*mes
  * @param[in] timeout a new timeout for the messenger, in milliseconds
  * @return an error code or zero if there is no error
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_timeout(pn_messenger_t *messenger, int timeout);
 
 /**
@@ -310,7 +310,7 @@ PNX_EXTERN int pn_messenger_set_timeout(pn_messenger_t *messenger, int
timeout);
  * @param[in] messenger a messenger object
  * @return the timeout for the messenger, in milliseconds
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_get_timeout(pn_messenger_t *messenger);
 
 /**
@@ -319,7 +319,7 @@ PNX_EXTERN int pn_messenger_get_timeout(pn_messenger_t *messenger);
  * @param[in] messenger a messenger object
  * @return true if blocking has been enabled, false otherwise
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN bool pn_messenger_is_blocking(pn_messenger_t *messenger);
 
 /**
@@ -330,7 +330,7 @@ PNX_EXTERN bool pn_messenger_is_blocking(pn_messenger_t *messenger);
  * @param[in] blocking the value of the blocking flag
  * @return an error code or zero if there is no error
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_blocking(pn_messenger_t *messenger, bool blocking);
 
 /**
@@ -345,7 +345,7 @@ PNX_EXTERN int pn_messenger_set_blocking(pn_messenger_t *messenger, bool
blockin
  * @param[in] messenger a messenger object
  * @return true if the messenger is in passive mode, false otherwise
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN bool pn_messenger_is_passive(pn_messenger_t *messenger);
 
 /**
@@ -358,7 +358,7 @@ PNX_EXTERN bool pn_messenger_is_passive(pn_messenger_t *messenger);
  * passive mode
  * @return an error code or zero on success
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_passive(pn_messenger_t *messenger, bool passive);
 
 /** Frees a Messenger.
@@ -366,7 +366,7 @@ PNX_EXTERN int pn_messenger_set_passive(pn_messenger_t *messenger, bool
passive)
  * @param[in] messenger the messenger to free (or NULL), no longer
  *                      valid on return
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN void pn_messenger_free(pn_messenger_t *messenger);
 
 /**
@@ -382,7 +382,7 @@ PNX_EXTERN void pn_messenger_free(pn_messenger_t *messenger);
  * @return an error code or zero if there is no error
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_errno(pn_messenger_t *messenger);
 
 /**
@@ -396,7 +396,7 @@ PNX_EXTERN int pn_messenger_errno(pn_messenger_t *messenger);
  * @return a pointer to the messenger's error descriptor
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_error_t *pn_messenger_error(pn_messenger_t *messenger);
 
 /**
@@ -414,7 +414,7 @@ PNX_EXTERN pn_error_t *pn_messenger_error(pn_messenger_t *messenger);
  * @param[in] messenger a messenger object
  * @return the outgoing window for the messenger
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_get_outgoing_window(pn_messenger_t *messenger);
 
 /**
@@ -427,7 +427,7 @@ PNX_EXTERN int pn_messenger_get_outgoing_window(pn_messenger_t *messenger);
  * @return an error or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_outgoing_window(pn_messenger_t *messenger, int window);
 
 /**
@@ -448,7 +448,7 @@ PNX_EXTERN int pn_messenger_set_outgoing_window(pn_messenger_t *messenger,
int w
  * @param[in] messenger a messenger object
  * @return the incoming window for the messenger
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_get_incoming_window(pn_messenger_t *messenger);
 
 /**
@@ -461,7 +461,7 @@ PNX_EXTERN int pn_messenger_get_incoming_window(pn_messenger_t *messenger);
  * @return an error or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_incoming_window(pn_messenger_t *messenger,
                                                int window);
 
@@ -473,7 +473,7 @@ PNX_EXTERN int pn_messenger_set_incoming_window(pn_messenger_t *messenger,
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_start(pn_messenger_t *messenger);
 
 /**
@@ -490,7 +490,7 @@ PNX_EXTERN int pn_messenger_start(pn_messenger_t *messenger);
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_stop(pn_messenger_t *messenger);
 
 /**
@@ -500,7 +500,7 @@ PNX_EXTERN int pn_messenger_stop(pn_messenger_t *messenger);
  * @param[in] messenger the messenger to stop
  *
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN bool pn_messenger_stopped(pn_messenger_t *messenger);
 
 /**
@@ -510,7 +510,7 @@ PNX_EXTERN bool pn_messenger_stopped(pn_messenger_t *messenger);
  * @param[in] source
  * @return a subscription
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_subscription_t *pn_messenger_subscribe(pn_messenger_t *messenger, const char
*source);
 
 /**
@@ -523,7 +523,7 @@ PNX_EXTERN pn_subscription_t *pn_messenger_subscribe(pn_messenger_t *messenger,
  *            link is closed.
  * @return a subscription
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_subscription_t *
 pn_messenger_subscribe_ttl(pn_messenger_t *messenger, const char *source,
                            pn_seconds_t timeout);
@@ -537,7 +537,7 @@ pn_messenger_subscribe_ttl(pn_messenger_t *messenger, const char *source,
  *            receiver
  * @return a link, or NULL if no link matches the address / sender parameters
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_link_t *pn_messenger_get_link(pn_messenger_t *messenger,
                                            const char *address, bool sender);
 
@@ -549,7 +549,7 @@ PNX_EXTERN pn_link_t *pn_messenger_get_link(pn_messenger_t *messenger,
  * @param[in] sub a subscription object
  * @return the subscription's application context
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN void *pn_subscription_get_context(pn_subscription_t *sub);
 
 /**
@@ -558,7 +558,7 @@ PNX_EXTERN void *pn_subscription_get_context(pn_subscription_t *sub);
  * @param[in] sub a subscription object
  * @param[in] context the application context for the subscription
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN void pn_subscription_set_context(pn_subscription_t *sub, void *context);
 
 /**
@@ -567,7 +567,7 @@ PNX_EXTERN void pn_subscription_set_context(pn_subscription_t *sub, void
*contex
  * @param[in] sub a subscription object
  * @return the subscription's source address
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN const char *pn_subscription_address(pn_subscription_t *sub);
 
 /**
@@ -580,7 +580,7 @@ PNX_EXTERN const char *pn_subscription_address(pn_subscription_t *sub);
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_put(pn_messenger_t *messenger, pn_message_t *msg);
 
 /**
@@ -594,7 +594,7 @@ PNX_EXTERN int pn_messenger_put(pn_messenger_t *messenger, pn_message_t
*msg);
  * @param[in] tracker the tracker identifying the delivery
  * @return a status code for the delivery
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_status_t pn_messenger_status(pn_messenger_t *messenger, pn_tracker_t tracker);
 
 /**
@@ -608,7 +608,7 @@ PNX_EXTERN pn_status_t pn_messenger_status(pn_messenger_t *messenger,
pn_tracker
  * @param[in] tracker the tracker identifying the delivery
  * @return a pn_delivery_t representing the delivery.
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_delivery_t *pn_messenger_delivery(pn_messenger_t *messenger,
                                                pn_tracker_t tracker);
 
@@ -624,7 +624,7 @@ PNX_EXTERN pn_delivery_t *pn_messenger_delivery(pn_messenger_t *messenger,
  *
  * @return true if the delivery is still buffered
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN bool pn_messenger_buffered(pn_messenger_t *messenger, pn_tracker_t tracker);
 
 /**
@@ -639,7 +639,7 @@ PNX_EXTERN bool pn_messenger_buffered(pn_messenger_t *messenger, pn_tracker_t
tr
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_settle(pn_messenger_t *messenger, pn_tracker_t tracker, int flags);
 
 /**
@@ -655,7 +655,7 @@ PNX_EXTERN int pn_messenger_settle(pn_messenger_t *messenger, pn_tracker_t
track
  * @return a pn_tracker_t or an undefined value if pn_messenger_get
  *         has never been called for the given messenger
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_tracker_t pn_messenger_outgoing_tracker(pn_messenger_t *messenger);
 
 /**
@@ -668,7 +668,7 @@ PNX_EXTERN pn_tracker_t pn_messenger_outgoing_tracker(pn_messenger_t *messenger)
  *
  * @return 0 if no work to do, < 0 if error, or 1 if work was done.
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_work(pn_messenger_t *messenger, int timeout);
 
 /**
@@ -682,7 +682,7 @@ PNX_EXTERN int pn_messenger_work(pn_messenger_t *messenger, int timeout);
  *
  * @param[in] messenger the Messenger to interrupt
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_interrupt(pn_messenger_t *messenger);
 
 /**
@@ -717,7 +717,7 @@ PNX_EXTERN int pn_messenger_interrupt(pn_messenger_t *messenger);
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_send(pn_messenger_t *messenger, int n);
 
 /**
@@ -744,7 +744,7 @@ PNX_EXTERN int pn_messenger_send(pn_messenger_t *messenger, int n);
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_recv(pn_messenger_t *messenger, int limit);
 
 /**
@@ -757,7 +757,7 @@ PNX_EXTERN int pn_messenger_recv(pn_messenger_t *messenger, int limit);
  *
  * @param[in] messenger the messenger
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_receiving(pn_messenger_t *messenger);
 
 /**
@@ -774,7 +774,7 @@ PNX_EXTERN int pn_messenger_receiving(pn_messenger_t *messenger);
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_get(pn_messenger_t *messenger, pn_message_t *message);
 
 /**
@@ -790,7 +790,7 @@ PNX_EXTERN int pn_messenger_get(pn_messenger_t *messenger, pn_message_t
*message
  * @return a pn_tracker_t or an undefined value if pn_messenger_get
  *         has never been called for the given messenger
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_tracker_t pn_messenger_incoming_tracker(pn_messenger_t *messenger);
 
 /**
@@ -802,7 +802,7 @@ PNX_EXTERN pn_tracker_t pn_messenger_incoming_tracker(pn_messenger_t *messenger)
  * @param[in] messenger a messenger object
  * @return a pn_subscription_t or NULL
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_subscription_t *pn_messenger_incoming_subscription(pn_messenger_t *messenger);
 
 /**
@@ -831,7 +831,7 @@ PNX_EXTERN pn_subscription_t *pn_messenger_incoming_subscription(pn_messenger_t
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_accept(pn_messenger_t *messenger, pn_tracker_t tracker, int flags);
 
 /**
@@ -855,7 +855,7 @@ PNX_EXTERN int pn_messenger_accept(pn_messenger_t *messenger, pn_tracker_t
track
  * @return an error code or zero on success
  * @see error.h
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_reject(pn_messenger_t *messenger, pn_tracker_t tracker, int flags);
 
 /**
@@ -865,7 +865,7 @@ PNX_EXTERN int pn_messenger_reject(pn_messenger_t *messenger, pn_tracker_t
track
  * @param[in] tracker a tracker object
  * @return a pn_link_t or NULL if the link could not be determined.
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_link_t *pn_messenger_tracker_link(pn_messenger_t *messenger,
                                                pn_tracker_t tracker);
 
@@ -876,7 +876,7 @@ PNX_EXTERN pn_link_t *pn_messenger_tracker_link(pn_messenger_t *messenger,
  * @param[in] messenger a messenger object
  * @return the outgoing queue depth
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_outgoing(pn_messenger_t *messenger);
 
 /**
@@ -885,7 +885,7 @@ PNX_EXTERN int pn_messenger_outgoing(pn_messenger_t *messenger);
  * @param[in] messenger a messenger object
  * @return the incoming queue depth
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_incoming(pn_messenger_t *messenger);
 
 //! Adds a routing rule to a Messenger's internal routing table.
@@ -950,7 +950,7 @@ PNX_EXTERN int pn_messenger_incoming(pn_messenger_t *messenger);
 //!
 //! @return an error code or zero on success
 //! @see error.h
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_route(pn_messenger_t *messenger, const char *pattern,
                                  const char *address);
 
@@ -976,7 +976,7 @@ PNX_EXTERN int pn_messenger_route(pn_messenger_t *messenger, const char
*pattern
  * @param[in] address an address indicating outgoing address rewrite
  * @return an error code or zero on success
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_rewrite(pn_messenger_t *messenger, const char *pattern,
                                    const char *address);
 
@@ -1006,7 +1006,7 @@ PNX_EXTERN int pn_messenger_rewrite(pn_messenger_t *messenger, const
char *patte
  * @param[in] messenger a messenger object
  * @return the next selectable, or NULL if there are none left
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_selectable_t *pn_messenger_selectable(pn_messenger_t *messenger);
 
 /**
@@ -1015,7 +1015,7 @@ PNX_EXTERN pn_selectable_t *pn_messenger_selectable(pn_messenger_t *messenger);
  * @param[in] messenger a messenger object
  * @return the nearest deadline
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_timestamp_t pn_messenger_deadline(pn_messenger_t *messenger);
 
 #define PN_FLAGS_CHECK_ROUTES                                                   \
@@ -1036,7 +1036,7 @@ PNX_EXTERN pn_timestamp_t pn_messenger_deadline(pn_messenger_t *messenger);
  *
  * @return an error code of zero if there is no error
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_flags(pn_messenger_t *messenger,
                                      const int flags);
 
@@ -1046,7 +1046,7 @@ PNX_EXTERN int pn_messenger_set_flags(pn_messenger_t *messenger,
  * @param[in] messenger the messenger
  * @return The flags set for the messenger
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_get_flags(pn_messenger_t *messenger);
 
 /**
@@ -1055,7 +1055,7 @@ PNX_EXTERN int pn_messenger_get_flags(pn_messenger_t *messenger);
  * @param[in] messenger the messenger
  * @param[in] mode the sender settle mode
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_snd_settle_mode(pn_messenger_t *messenger,
                                                const pn_snd_settle_mode_t mode);
 
@@ -1065,7 +1065,7 @@ PNX_EXTERN int pn_messenger_set_snd_settle_mode(pn_messenger_t *messenger,
  * @param[in] messenger the messenger
  * @param[in] mode the receiver settle mode
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int pn_messenger_set_rcv_settle_mode(pn_messenger_t *messenger,
                                                const pn_rcv_settle_mode_t mode);
 
@@ -1075,7 +1075,7 @@ PNX_EXTERN int pn_messenger_set_rcv_settle_mode(pn_messenger_t *messenger,
  * @param[in] messenger a messenger object
  * @param[in] tracer the tracer callback
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN void pn_messenger_set_tracer(pn_messenger_t *messenger,
                                        pn_tracer_t tracer);
 
@@ -1086,7 +1086,7 @@ PNX_EXTERN void pn_messenger_set_tracer(pn_messenger_t *messenger,
  * @param[in] address of remote service whose idle timeout is required
  * @return the timeout in milliseconds or -1 if an error occurs
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN pn_millis_t
     pn_messenger_get_remote_idle_timeout(pn_messenger_t *messenger,
                                          const char *address);
@@ -1100,7 +1100,7 @@ PNX_EXTERN pn_millis_t
  *             enum for valid values)
  * @return 0 if successful or -1 if an error occurs
  */
-PN_DEPRECATED("use the Proactor API or Qpid Proton C++")
+PN_DEPRECATED("Use the Proactor API or Qpid Proton C++")
 PNX_EXTERN int
 pn_messenger_set_ssl_peer_authentication_mode(pn_messenger_t *messenger,
                                               const pn_ssl_verify_mode_t mode);

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9ee89ba1/c/include/proton/netaddr.h
----------------------------------------------------------------------
diff --git a/c/include/proton/netaddr.h b/c/include/proton/netaddr.h
index 1391ce8..2f8fb12 100644
--- a/c/include/proton/netaddr.h
+++ b/c/include/proton/netaddr.h
@@ -108,19 +108,19 @@ PNP_EXTERN int pn_netaddr_host_port(const pn_netaddr_t* na, char *host,
size_t h
 /**
  * **Deprecated** - Use ::pn_transport_local_addr()
  */
-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);
 
 /**
  * **Deprecated** - Use ::pn_transport_remote_addr()
  */
-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);
 
 /**
  * **Deprecated** - Use ::pn_listener_addr()
  */
-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);
 
 /**

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9ee89ba1/c/include/proton/session.h
----------------------------------------------------------------------
diff --git a/c/include/proton/session.h b/c/include/proton/session.h
index 6d03353..f375228 100644
--- a/c/include/proton/session.h
+++ b/c/include/proton/session.h
@@ -106,7 +106,7 @@ PN_EXTERN pn_record_t *pn_session_attachments(pn_session_t *session);
 PN_EXTERN pn_state_t pn_session_state(pn_session_t *session);
 
 /**
- * **Deprecated**
+ * **Deprecated** - Use ::pn_session_condition().
  *
  * Get additional error information associated with the session.
  *
@@ -121,6 +121,7 @@ PN_EXTERN pn_state_t pn_session_state(pn_session_t *session);
  * @param[in] session the session object
  * @return the session's error object
  */
+PN_DEPRECATED("Use pn_session_condition")
 PN_EXTERN pn_error_t *pn_session_error(pn_session_t *session);
 
 /**

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9ee89ba1/c/include/proton/url.h
----------------------------------------------------------------------
diff --git a/c/include/proton/url.h b/c/include/proton/url.h
index 65f4048..590400a 100644
--- a/c/include/proton/url.h
+++ b/c/include/proton/url.h
@@ -43,7 +43,7 @@ typedef struct pn_url_t pn_url_t;
 /**
  * Create an empty URL
  */
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN pn_url_t *pn_url(void);
 
 /**
@@ -64,19 +64,19 @@ PNX_EXTERN pn_url_t *pn_url(void);
  * @param[in] url A URL string.
  * @return The parsed pn_url_t or NULL if url is not a valid URL string.
  */
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN pn_url_t *pn_url_parse(const char *url);
 
 /**
  * Free a URL
  */
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_free(pn_url_t *url);
 
 /**
  * Clear the contents of the URL.
  */
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_clear(pn_url_t *url);
 
 /**
@@ -85,7 +85,7 @@ PNX_EXTERN void pn_url_clear(pn_url_t *url);
  * The returned string is owned by the pn_url_t and will become
  * invalid if it is modified.
  */
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN const char *pn_url_str(pn_url_t *url);
 
 /**
@@ -95,17 +95,17 @@ PNX_EXTERN const char *pn_url_str(pn_url_t *url);
  *
  * @{
  */
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN const char *pn_url_get_scheme(pn_url_t *url);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN const char *pn_url_get_username(pn_url_t *url);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN const char *pn_url_get_password(pn_url_t *url);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN const char *pn_url_get_host(pn_url_t *url);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN const char *pn_url_get_port(pn_url_t *url);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN const char *pn_url_get_path(pn_url_t *url);
 /**
  * @}
@@ -119,17 +119,17 @@ PNX_EXTERN const char *pn_url_get_path(pn_url_t *url);
  *
  * @{
  */
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_set_scheme(pn_url_t *url, const char *scheme);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_set_username(pn_url_t *url, const char *username);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_set_password(pn_url_t *url, const char *password);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_set_host(pn_url_t *url, const char *host);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_set_port(pn_url_t *url, const char *port);
-PN_DEPRECATED("use a third-party URL library")
+PN_DEPRECATED("Use a third-party URL library")
 PNX_EXTERN void pn_url_set_path(pn_url_t *url, const char *path);
 /**
  * @}


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


Mime
View raw message