changing ownership; sendto() now takes ownership of message

IPS-67
Volker Birk 1 year ago
parent c267dd808a
commit 4baeb4e985

@ -5,7 +5,7 @@ PREFIX?=$(HOME)
TARGET=transport_status_code.h transport_status_code.c PEPTransportStatusCode.h TransportStatusCode.kt TransportStatusCode.cs
HEADERS=$(wildcard *.hh *.hxx *.h)
HEADERS=$(wildcard *.hh *.hxx *.h *.cs)
TSC=$(wildcard *.tsc)
.PHONY: install uninstall clean

@ -82,7 +82,7 @@ namespace pEp {
// non-blocking
// Pushes the msg onto the tx-queue.
// Throws TransportError with tsc tx_queue_overrun if the tx_queue is full.
virtual void sendto(const ::message* msg) = 0;
virtual void sendto(::message* msg) = 0;
// non-blocking
// pops the next msg off the rx-queue

Loading…
Cancel
Save