This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push:
new ff330a695 Make pn_unsettled_head/_next available in Python binding
ff330a695 is described below
commit ff330a695a9681e466965456ed34b9b97962aa2b
Author: Pete Fawcett <[email protected]>
AuthorDate: Tue Mar 18 16:36:11 2025 +0000
Make pn_unsettled_head/_next available in Python binding
---
python/cproton.h | 2 ++
python/cproton.py | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/python/cproton.h b/python/cproton.h
index 76b9d87ab..415d9c776 100644
--- a/python/cproton.h
+++ b/python/cproton.h
@@ -543,6 +543,8 @@ int pn_message_set_reply_to_group_id(pn_message_t *msg,
const char *reply_to_gro
int pn_message_set_subject(pn_message_t *msg, const char *subject);
int pn_message_set_ttl(pn_message_t *msg, pn_millis_t ttl);
int pn_message_set_user_id(pn_message_t *msg, pn_bytes_t user_id);
+pn_delivery_t *pn_unsettled_head(pn_link_t *link);
+pn_delivery_t *pn_unsettled_next(pn_delivery_t *delivery);
pn_link_t *pn_receiver(pn_session_t *session, const char *name);
diff --git a/python/cproton.py b/python/cproton.py
index 656b13534..f58518578 100644
--- a/python/cproton.py
+++ b/python/cproton.py
@@ -115,7 +115,8 @@ from cproton_ffi.lib import (PN_ACCEPTED, PN_ARRAY,
PN_BINARY, PN_BOOL, PN_BYTE,
pn_link_set_drain, pn_link_set_max_message_size,
pn_link_set_rcv_settle_mode,
pn_link_set_snd_settle_mode,
pn_link_snd_settle_mode, pn_link_source,
pn_link_state, pn_link_target,
- pn_link_unsettled, pn_message,
pn_message_annotations, pn_message_body,
+ pn_link_unsettled, pn_unsettled_head,
pn_unsettled_next,
+ pn_message, pn_message_annotations,
pn_message_body,
pn_message_clear, pn_message_error,
pn_message_free,
pn_message_get_creation_time,
pn_message_get_delivery_count,
pn_message_get_expiry_time,
pn_message_get_group_sequence,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]