summaryrefslogtreecommitdiff
path: root/code/core/rbuf_send.c
blob: 932ecdfa7650f07b1ee478132de62a916ea764d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "core.h"

#include <string.h>

static ssize_t handle_ack(ECPConnection *conn, ecp_seq_t seq, unsigned char mtype, unsigned char *msg, ssize_t size) {
    return size;
}

ssize_t ecp_rbuf_send_store(ECPConnection *conn, ecp_seq_t seq, unsigned char *msg, size_t msg_size) {
    return ecp_rbuf_msg_store(&conn->rbuf.send->rbuf, seq, msg, msg_size, 0, 0);
}