2018-12-10 01:28:32 +08:00
|
|
|
/*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018 Philippe Gerum <rpm@xenomai.org>
|
|
|
|
*/
|
|
|
|
|
2019-03-10 23:25:02 +08:00
|
|
|
#ifndef _EVL_EVL_H
|
|
|
|
#define _EVL_EVL_H
|
2018-12-10 01:28:32 +08:00
|
|
|
|
|
|
|
#include <signal.h>
|
2019-03-10 23:25:02 +08:00
|
|
|
#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>
|
2018-12-10 01:28:32 +08:00
|
|
|
|
|
|
|
#define __EVL__ 0 /* API revision */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int evl_init(void);
|
|
|
|
|
2019-04-23 00:16:49 +08:00
|
|
|
int evl_sigevl_handler(int sig, siginfo_t *si, void *ctxt);
|
2018-12-10 01:28:32 +08:00
|
|
|
|
|
|
|
void evl_sigdebug_handler(int sig, siginfo_t *si, void *ctxt);
|
|
|
|
|
|
|
|
unsigned int evl_detect_fpu(void);
|
|
|
|
|
2019-05-29 20:58:12 +08:00
|
|
|
extern const char *libevl_version_string;
|
|
|
|
|
2018-12-10 01:28:32 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2019-03-10 23:25:02 +08:00
|
|
|
#endif /* _EVL_EVL_H */
|