2020-11-02 00:52:13 +01:00
|
|
|
from ranges import quicly_ranges_t
|
|
|
|
|
|
|
|
type
|
2020-11-07 11:42:11 +01:00
|
|
|
quicly_sendstate_t* {.importc, header: "quicly/sendstate.h", bycopy.} = object
|
2020-11-02 00:52:13 +01:00
|
|
|
acked*: quicly_ranges_t
|
|
|
|
pending*: quicly_ranges_t
|
|
|
|
size_inflight*: uint64
|
|
|
|
final_size*: uint64
|
|
|
|
|
2020-11-07 11:42:11 +01:00
|
|
|
quicly_sendstate_sent_t* {.importc, header: "quicly/sendstate.h", bycopy.} = object
|
2020-11-02 00:52:13 +01:00
|
|
|
start*: uint64
|
|
|
|
`end`*: uint64
|
|
|
|
|
|
|
|
proc quicly_sendstate_is_open*(state: ptr quicly_sendstate_t): cint
|
2020-11-07 11:42:11 +01:00
|
|
|
{.importc, header: "quicly/sendstate.h", cdecl.}
|