C AMQP Protocol Engine API  0.7
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
link.h File Reference
#include <proton/import_export.h>
#include <proton/type_compat.h>
#include <stddef.h>
#include <sys/types.h>
Include dependency graph for link.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  pn_snd_settle_mode_t { PN_SND_UNSETTLED = 0, PN_SND_SETTLED = 1, PN_SND_MIXED = 2 }
 
enum  pn_rcv_settle_mode_t { PN_RCV_FIRST = 0, PN_RCV_SECOND = 1 }
 

Functions

PN_EXTERN pn_link_tpn_sender (pn_session_t *session, const char *name)
 
PN_EXTERN pn_link_tpn_receiver (pn_session_t *session, const char *name)
 
PN_EXTERN void pn_link_free (pn_link_t *link)
 
PN_EXTERN void * pn_link_get_context (pn_link_t *link)
 
PN_EXTERN void pn_link_set_context (pn_link_t *link, void *context)
 
PN_EXTERN const char * pn_link_name (pn_link_t *link)
 
PN_EXTERN bool pn_link_is_sender (pn_link_t *link)
 
PN_EXTERN bool pn_link_is_receiver (pn_link_t *link)
 
PN_EXTERN pn_state_t pn_link_state (pn_link_t *link)
 
PN_EXTERN pn_error_tpn_link_error (pn_link_t *link)
 
PN_EXTERN pn_condition_tpn_link_condition (pn_link_t *link)
 
PN_EXTERN pn_condition_tpn_link_remote_condition (pn_link_t *link)
 
PN_EXTERN pn_session_tpn_link_session (pn_link_t *link)
 
PN_EXTERN pn_link_tpn_link_head (pn_connection_t *connection, pn_state_t state)
 
PN_EXTERN pn_link_tpn_link_next (pn_link_t *link, pn_state_t state)
 
PN_EXTERN void pn_link_open (pn_link_t *link)
 
PN_EXTERN void pn_link_close (pn_link_t *link)
 
PN_EXTERN pn_terminus_tpn_link_source (pn_link_t *link)
 
PN_EXTERN pn_terminus_tpn_link_target (pn_link_t *link)
 
PN_EXTERN pn_terminus_tpn_link_remote_source (pn_link_t *link)
 
PN_EXTERN pn_terminus_tpn_link_remote_target (pn_link_t *link)
 
PN_EXTERN pn_delivery_tpn_link_current (pn_link_t *link)
 
PN_EXTERN bool pn_link_advance (pn_link_t *link)
 
PN_EXTERN int pn_link_credit (pn_link_t *link)
 
PN_EXTERN int pn_link_queued (pn_link_t *link)
 
PN_EXTERN int pn_link_remote_credit (pn_link_t *link)
 
PN_EXTERN bool pn_link_get_drain (pn_link_t *link)
 
PN_EXTERN int pn_link_drained (pn_link_t *link)
 
PN_EXTERN int pn_link_available (pn_link_t *link)
 
PN_EXTERN pn_snd_settle_mode_t pn_link_snd_settle_mode (pn_link_t *link)
 
PN_EXTERN pn_rcv_settle_mode_t pn_link_rcv_settle_mode (pn_link_t *link)
 
PN_EXTERN void pn_link_set_snd_settle_mode (pn_link_t *link, pn_snd_settle_mode_t mode)
 
PN_EXTERN void pn_link_set_rcv_settle_mode (pn_link_t *link, pn_rcv_settle_mode_t mode)
 
PN_EXTERN pn_snd_settle_mode_t pn_link_remote_snd_settle_mode (pn_link_t *link)
 
PN_EXTERN pn_rcv_settle_mode_t pn_link_remote_rcv_settle_mode (pn_link_t *link)
 
PN_EXTERN int pn_link_unsettled (pn_link_t *link)
 
PN_EXTERN pn_delivery_tpn_unsettled_head (pn_link_t *link)
 
PN_EXTERN pn_delivery_tpn_unsettled_next (pn_delivery_t *delivery)
 
PN_EXTERN void pn_link_offered (pn_link_t *sender, int credit)
 
PN_EXTERN ssize_t pn_link_send (pn_link_t *sender, const char *bytes, size_t n)
 
PN_EXTERN void pn_link_flow (pn_link_t *receiver, int credit)
 
PN_EXTERN void pn_link_drain (pn_link_t *receiver, int credit)
 
PN_EXTERN void pn_link_set_drain (pn_link_t *receiver, bool drain)
 
PN_EXTERN ssize_t pn_link_recv (pn_link_t *receiver, char *bytes, size_t n)
 
PN_EXTERN bool pn_link_draining (pn_link_t *receiver)
 

Detailed Description

Link API for the proton Engine.