gnrc_tcp_eventloop.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2017 Simon Brummer
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef GNRC_TCP_EVENTLOOP_H
21 #define GNRC_TCP_EVENTLOOP_H
22 
23 #include <stdint.h>
24 
25 #include "evtimer_msg.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
38 int _gnrc_tcp_eventloop_init(void);
39 
50  uint16_t type, void *context);
51 
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* GNRC_TCP_EVENTLOOP_H */
66 
_gnrc_tcp_eventloop_init
int _gnrc_tcp_eventloop_init(void)
Starts GNRC TCP's main processing thread.
event
event structure
Definition: event.h:142
_gnrc_tcp_eventloop_sched
void _gnrc_tcp_eventloop_sched(evtimer_msg_event_t *event, uint32_t offset, uint16_t type, void *context)
Schedule event to event loop.
evtimer_msg.h
IPC-based evtimer definitions.
_gnrc_tcp_eventloop_unsched
void _gnrc_tcp_eventloop_unsched(evtimer_msg_event_t *event)
Unschedule event to event loop.
evtimer_msg_event_t
IPC-message event.
Definition: evtimer_msg.h:40