Commit 06afdefd authored by Andreas Schmidt's avatar Andreas Schmidt

Fix Python bindings.

parent 44b41686
......@@ -218,7 +218,7 @@ void BBR_OnACK(BBR* bbr, PrrtChannelStateInformation* csi, PrrtRateSample* rs, P
BBR_SetCwnd(bbr, packetTracking);
}
BBR* BBR_Init()
BBR* BBR_Init(void)
{
BBR* bbr = calloc(1, sizeof(BBR));
check_mem(bbr);
......
......@@ -71,7 +71,7 @@ typedef struct bbr {
WindowedFilter* btlBwFilter;
} BBR;
BBR* BBR_Init();
BBR* BBR_Init(void);
void BBR_OnACK(BBR* bbr, PrrtChannelStateInformation* csi, PrrtRateSample* rs, PrrtPacketTracking* recv_stats);
void BBR_destroy(BBR* bbr);
......
......@@ -192,6 +192,7 @@ bool PrrtReceiver_updateAndGenerateRateSample(PrrtReceiver *recv, prrtSequenceNu
error:
PERROR("Mutex error.%s", "");
return false;
}
void PrrtReceiver_add_outstanding_packet_state(PrrtReceiver *recv, PrrtPacket *packet, prrtTimestamp_t sentTime) {
......
......@@ -50,6 +50,9 @@ cdef extern from "proto/processes/dataTransmitter.c":
cdef extern from "proto/block.c":
pass
cdef extern from "proto/bbr.c":
pass
cdef extern from "proto/clock.c":
pass
......@@ -89,6 +92,9 @@ cdef extern from "util/pipe.c":
cdef extern from "util/mpsc_queue.c":
pass
cdef extern from "util/windowedFilter.c":
pass
class PrrtCodingConfiguration:
def __init__(self, n, k, n_cycle):
# TODO: Validity checks
......
Subproject commit 116a01bd708b76d11124f6dd773d56bbecb93ebf
Subproject commit 5123d8333ea4292f84f73e929d3fb7a5b840d056
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment