version 1.3.4.1, 2013/07/18 15:02:51
|
version 1.4.2.3, 2022/09/14 14:32:48
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | Copyright 2004 - 2022 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 54 SUCH DAMAGE.
|
Line 54 SUCH DAMAGE.
|
#define WILDCARDS "/#+" |
#define WILDCARDS "/#+" |
#define MQTT_CONNFLGS_INIT { 1, 1, 1, 3, 1, 1, 1 } |
#define MQTT_CONNFLGS_INIT { 1, 1, 1, 3, 1, 1, 1 } |
|
|
|
#define MQTT_DEFAULT_MSGID 0xDEBA |
|
|
|
#define MQTT_PROTO_STR "MQTT" |
#define MQTT_CONN_STR "MQIsdp" |
#define MQTT_CONN_STR "MQIsdp" |
|
|
|
|
Line 62 SUCH DAMAGE.
|
Line 65 SUCH DAMAGE.
|
strlcpy(mqtt_Error, strerror(errno), sizeof mqtt_Error); \ |
strlcpy(mqtt_Error, strerror(errno), sizeof mqtt_Error); \ |
} |
} |
|
|
|
#ifndef HAVE_STRLCAT |
|
size_t strlcat(char * __restrict dst, const char * __restrict src, size_t siz); |
|
#endif |
|
#ifndef HAVE_STRLCPY |
|
size_t strlcpy(char * __restrict dst, const char * __restrict src, size_t siz); |
|
#endif |
|
|
|
#ifndef __ELWIX |
|
#define e_malloc malloc |
|
#define e_calloc calloc |
|
#define e_realloc realloc |
|
#define e_free free |
|
#define e_strdup strdup |
|
#endif |
|
|
|
|
extern int mqtt_Errno; |
extern int mqtt_Errno; |
extern char mqtt_Error[STRSIZ]; |
extern char mqtt_Error[STRSIZ]; |
|
|
void mqtt_SetErr(int, char *, ...); |
void mqtt_SetErr(int, char *, ...); |
struct mqtthdr *_mqtt_readHEADER(mqtt_msg_t * __restrict, u_char, int *, int *); | //struct mqtthdr *_mqtt_readHEADER(mqtt_msg_t * __restrict, u_char, int *, int *); |
|
|
int mqtt_wait4data(int, u_short, short); |
int mqtt_wait4data(int, u_short, short); |
|
|