evl.h 747 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
13
14
15
16
17
18
19
20
#include <evl/clock.h>
#include <evl/mutex.h>
#include <evl/condvar.h>
#include <evl/sem.h>
#include <evl/syscall.h>
#include <evl/thread.h>
#include <evl/xbuf.h>
#include <evl/poll.h>
#include <evl/proxy.h>
#include <evl/utils.h>
Philippe Gerum's avatar
Philippe Gerum committed
21
22
23
24
25
26
27
28
29

#define __EVL__  0	/* API revision */

#ifdef __cplusplus
extern "C" {
#endif

int evl_init(void);

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

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

unsigned int evl_detect_fpu(void);

36
37
extern const char *libevl_version_string;

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

42
#endif /* _EVL_EVL_H */