22 lines
537 B
C
22 lines
537 B
C
#ifndef _HEXAGRAM_MODULE_H
|
|
#define _HEXAGRAM_MODULE_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <hexagram/dict.h>
|
|
#include <hexagram/can.h>
|
|
|
|
typedef struct _hexagram_module hexagram_module;
|
|
|
|
hexagram_module *hexagram_module_open(const char *soname);
|
|
|
|
int hexagram_module_close(hexagram_module *module);
|
|
|
|
const char *hexagram_module_name(hexagram_module *module);
|
|
|
|
int hexagram_module_run(hexagram_module *module,
|
|
hexagram_dict *buses);
|
|
|
|
int hexagram_module_stop(hexagram_module *module);
|
|
|
|
#endif /* _HEXAGRAM_MODULE_H */
|