aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/connection_vft.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/core/connection_vft.h')
-rw-r--r--hicn-light/src/hicn/core/connection_vft.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hicn-light/src/hicn/core/connection_vft.h b/hicn-light/src/hicn/core/connection_vft.h
index e6290cdd4..1a6ecbb78 100644
--- a/hicn-light/src/hicn/core/connection_vft.h
+++ b/hicn-light/src/hicn/core/connection_vft.h
@@ -28,8 +28,8 @@ typedef struct {
void (*finalize)(connection_t* connection);
int (*get_socket)(const listener_t* listener, const address_t* local,
const address_t* remote, const char* interface_name);
- bool (*flush)(const connection_t* connection);
- bool (*send)(const connection_t* connection, msgbuf_t* msgbuf, bool queue);
+ bool (*flush)(connection_t* connection);
+ bool (*send)(connection_t* connection, msgbuf_t* msgbuf, bool queue);
int (*send_packet)(const connection_t* connection, const uint8_t* packet,
size_t size);
// void (*read_callback)(connection_t * connection, int fd, void * data);