diff options
Diffstat (limited to 'deps/ngtcp2/lib/ngtcp2_acktr.h')
-rw-r--r-- | deps/ngtcp2/lib/ngtcp2_acktr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/ngtcp2/lib/ngtcp2_acktr.h b/deps/ngtcp2/lib/ngtcp2_acktr.h index 0efd2156ac9..38c1ebe2cfd 100644 --- a/deps/ngtcp2/lib/ngtcp2_acktr.h +++ b/deps/ngtcp2/lib/ngtcp2_acktr.h @@ -177,6 +177,12 @@ void ngtcp2_acktr_forget(ngtcp2_acktr *acktr, ngtcp2_acktr_entry *ent); ngtcp2_ksl_it ngtcp2_acktr_get(ngtcp2_acktr *acktr); /* + * ngtcp2_acktr_empty returns nonzero if it has no packet to + * acknowledge. + */ +int ngtcp2_acktr_empty(ngtcp2_acktr *acktr); + +/* * ngtcp2_acktr_add_ack records outgoing ACK frame whose largest * acknowledged packet number is |largest_ack|. |pkt_num| is the * packet number of a packet in which ACK frame is included. This |