Lely core libraries 2.3.4
dcf.h
Go to the documentation of this file.
1
22#ifndef LELY_CO_DCF_H_
23#define LELY_CO_DCF_H_
24
25#include <lely/co/dev.h>
26
27// The file location struct from <lely/util/diag.h>.
28struct floc;
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34struct __co_dev *__co_dev_init_from_dcf_file(
35 struct __co_dev *dev, const char *filename);
36
42co_dev_t *co_dev_create_from_dcf_file(const char *filename);
43
44struct __co_dev *__co_dev_init_from_dcf_text(struct __co_dev *dev,
45 const char *begin, const char *end, struct floc *at);
46
60 const char *begin, const char *end, struct floc *at);
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif // !LELY_CO_DCF_H_
This header file is part of the CANopen library; it contains the device description declarations.
co_dev_t * co_dev_create_from_dcf_text(const char *begin, const char *end, struct floc *at)
Creates a CANopen device from an EDS or DCF text string.
Definition dcf.c:153
co_dev_t * co_dev_create_from_dcf_file(const char *filename)
Creates a CANopen device from an EDS or DCF file.
Definition dcf.c:100
A CANopen device.
Definition dev.h:30
A location in a text file.
Definition diag.h:39