| 92 | } |
| 93 | |
| 94 | static size_t pni_buffer_tail(pn_buffer_t *buf) |
| 95 | { |
| 96 | size_t tail = buf->start + buf->size; |
| 97 | if (tail >= buf->capacity) |
| 98 | tail -= buf->capacity; |
| 99 | return tail; |
| 100 | } |
| 101 | |
| 102 | static bool pni_buffer_wrapped(pn_buffer_t *buf) |
| 103 | { |
no outgoing calls
no test coverage detected