|
|
1.1 misho 1: #ifndef __DEFS_H
2: #define __DEFS_H
3:
4:
5: #define STRSIZ 256
6:
1.1.1.1.2.1 misho 7: #define LOGERR { \
8: mqtt_Errno = errno; \
9: strlcpy(mqtt_Error, strerror(errno), sizeof mqtt_Error); \
10: }
11:
1.1 misho 12:
1.1.1.1.2.2! misho 13: inline void mqtt_SetErr(int eno, char *estr, ...);
! 14:
! 15:
1.1 misho 16: #endif