2019-02-11 21:40:00 +00:00
|
|
|
#pragma once
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include "evt_core.h"
|
2019-02-12 10:17:37 +00:00
|
|
|
#include "utils.h"
|
2019-02-11 21:40:00 +00:00
|
|
|
|
|
|
|
struct algo_skel {
|
2019-02-12 10:17:37 +00:00
|
|
|
struct evt_core_cat on_udp_read;
|
|
|
|
struct evt_core_cat on_tcp_read;
|
|
|
|
struct evt_core_cat on_udp_write;
|
|
|
|
struct evt_core_cat on_tcp_write;
|
2019-02-11 21:40:00 +00:00
|
|
|
struct evt_core_cat on_tcp_co;
|
|
|
|
};
|
|
|
|
|
|
|
|
void algo_naive(struct algo_skel* as);
|