MCPcopy Create free account
hub / github.com/apache/qpid-proton / drain_processed_input_bufs

Function drain_processed_input_bufs

c/tests/tls_test.cpp:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void drain_processed_input_bufs(pn_tls_t *tls) {
278 pn_raw_buffer_t rb;
279 while (pn_tls_take_encrypt_input_buffers(tls, &rb, 1) == 1)
280 free_rbuf(rb);
281 while (pn_tls_take_decrypt_input_buffers(tls, &rb, 1) == 1)
282 free_rbuf(rb);
283}
284
285void drain_processed_output_bufs(pn_tls_t *tls) {
286 pn_raw_buffer_t rb;

Callers 2

cleanupMethod · 0.85
pumpFunction · 0.85

Calls 3

free_rbufFunction · 0.85

Tested by

no test coverage detected