diff options
author | Bjorn Stenberg <bjorn@haxx.se> | 2020-04-14 11:19:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-14 13:03:40 +0200 |
commit | 2522903b792ac5a802f780df60dc4647c58e2477 (patch) | |
tree | 4ccf24997d616fce58a798cbb3bcad3557e976db /lib/urldata.h | |
parent | 8909865191072b6fc3e040ab0caccc2ec09d8763 (diff) | |
download | curl-2522903b792ac5a802f780df60dc4647c58e2477.tar.gz |
mqtt: add new experimental protocol
Closes #5173
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 2a36c1147..6e426a29f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -49,6 +49,7 @@ #define PORT_RTMPT PORT_HTTP #define PORT_RTMPS PORT_HTTPS #define PORT_GOPHER 70 +#define PORT_MQTT 1883 #define DICT_MATCH "/MATCH:" #define DICT_MATCH2 "/M:" @@ -128,6 +129,7 @@ typedef ssize_t (Curl_recv)(struct connectdata *conn, /* connection data */ #include "http.h" #include "rtsp.h" #include "smb.h" +#include "mqtt.h" #include "wildcard.h" #include "multihandle.h" #include "quic.h" @@ -1081,6 +1083,7 @@ struct connectdata { struct smb_conn smbc; void *rtmp; struct ldapconninfo *ldapc; + struct mqtt_conn mqtt; } proto; int cselect_bits; /* bitmask of socket events */ |