evl.h 768 Bytes
Newer Older
Philippe Gerum's avatar
Philippe Gerum committed
1
2
3
4
5
6
/*
 * SPDX-License-Identifier: MIT
 *
 * Copyright (C) 2018 Philippe Gerum  <rpm@xenomai.org>
 */

7
8
#ifndef _EVL_EVL_H
#define _EVL_EVL_H
Philippe Gerum's avatar
Philippe Gerum committed
9
10

#include <signal.h>
11
12
#include <evl/clock.h>
#include <evl/mutex.h>
Philippe Gerum's avatar
Philippe Gerum committed
13
#include <evl/event.h>
14
#include <evl/sem.h>
15
#include <evl/flags.h>
16
17
#include <evl/syscall.h>
#include <evl/thread.h>
18
#include <evl/sched.h>
19
20
21
#include <evl/xbuf.h>
#include <evl/poll.h>
#include <evl/proxy.h>
Philippe Gerum's avatar
Philippe Gerum committed
22

Philippe Gerum's avatar
Philippe Gerum committed
23
#define __EVL__  6	/* API revision */
Philippe Gerum's avatar
Philippe Gerum committed
24
25
26
27
28
29
30

#ifdef __cplusplus
extern "C" {
#endif

int evl_init(void);

31
int evl_sigevl_handler(int sig, siginfo_t *si, void *ctxt);
Philippe Gerum's avatar
Philippe Gerum committed
32
33
34
35
36

void evl_sigdebug_handler(int sig, siginfo_t *si, void *ctxt);

unsigned int evl_detect_fpu(void);

37
38
extern const char *libevl_version_string;

Philippe Gerum's avatar
Philippe Gerum committed
39
40
41
42
#ifdef __cplusplus
}
#endif

43
#endif /* _EVL_EVL_H */