equal
deleted
inserted
replaced
30 typedef double IEC_LREAL; |
30 typedef double IEC_LREAL; |
31 |
31 |
32 typedef struct { |
32 typedef struct { |
33 long int tv_sec; /* Seconds. */ |
33 long int tv_sec; /* Seconds. */ |
34 long int tv_nsec; /* Nanoseconds. */ |
34 long int tv_nsec; /* Nanoseconds. */ |
35 }__attribute__((packed)) IEC_TIMESPEC; |
35 } /* __attribute__((packed)) */ IEC_TIMESPEC; /* packed is gcc specific! */ |
36 |
36 |
37 typedef IEC_TIMESPEC IEC_TIME; |
37 typedef IEC_TIMESPEC IEC_TIME; |
38 typedef IEC_TIMESPEC IEC_DATE; |
38 typedef IEC_TIMESPEC IEC_DATE; |
39 typedef IEC_TIMESPEC IEC_DT; |
39 typedef IEC_TIMESPEC IEC_DT; |
40 typedef IEC_TIMESPEC IEC_TOD; |
40 typedef IEC_TIMESPEC IEC_TOD; |
49 |
49 |
50 typedef STR_LEN_TYPE __strlen_t; |
50 typedef STR_LEN_TYPE __strlen_t; |
51 typedef struct { |
51 typedef struct { |
52 __strlen_t len; |
52 __strlen_t len; |
53 uint8_t body[STR_MAX_LEN]; |
53 uint8_t body[STR_MAX_LEN]; |
54 } __attribute__((packed)) IEC_STRING; |
54 } /* __attribute__((packed)) */ IEC_STRING; /* packed is gcc specific! */ |
55 |
55 |
56 #endif /*IEC_TYPES_H*/ |
56 #endif /*IEC_TYPES_H*/ |