Lely core libraries  2.2.5
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>.
28 struct floc;
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 struct __co_dev *__co_dev_init_from_dcf_file(
35  struct __co_dev *dev, const char *filename);
36 
42 co_dev_t *co_dev_create_from_dcf_file(const char *filename);
43 
44 struct __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_
dev.h
co_dev_create_from_dcf_file
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
floc
A location in a text file.
Definition: diag.h:31
co_dev_create_from_dcf_text
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
A CANopen device.
Definition: dev.c:41