aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-02-16Link the mqtt library to ws2_32 on Windows to make tools linkOskari Timperi
2017-02-16Use functions from socket.c in socketstream.cOskari Timperi
Makes the socket includes and platform specific defines centralized in one place.
2017-02-16MSVC/Windows cleanups to socket.cOskari Timperi
2017-02-16Get rid of compiler warning by explicit castOskari Timperi
2017-02-16Remove SEEK_SET/SEEK_END/SEEK_CUR redefinitionsOskari Timperi
Don't really know why they were there in the first place.
2017-02-16Make queue.h work on MSVCOskari Timperi
Surround currently unnecessary parts with `#if 0 ... #endif`. The offending part was the __launder_type() function with inline assembly in unsupported GCC style.
2017-02-15Initialize Winsock on WindowsOskari Timperi
2017-02-15Make the code compile using MinGWOskari Timperi
- implemented GetCurrentTime() for Windows - had to rename GetCurrentTime() to MqttGetCurrentTime() because of name clashes - setup headers correctly
2017-02-15Home-made 16 bit big endian reading and writing in stream.cOskari Timperi
2017-02-15Add SocketSelect() to wrap select()Oskari Timperi
This also makes all the necessary includes for sockets centralized to `sockets.c`.
2017-02-15NULL terminate received strings and message payloadOskari Timperi
2017-02-14Add more fixes to -std=c99 compilation by defining _XOPEN_SOURCEOskari Timperi
2017-02-14Fixes to -std=c99 compilationOskari Timperi
2017-02-14Include config.h initially with MQTT_INLINE definitionOskari Timperi
2017-02-14More includes to socket.cOskari Timperi
Try to make the library compile under -std=c99 -pedantic
2017-02-14Free packets from outMessages and inMessages when freeing clientOskari Timperi
2017-02-14Fixes to make valgrind happyOskari Timperi
2017-02-14Take bstrlib into useOskari Timperi
I should've done this from the start. :-)
2017-02-12Fixes to make code to almost compile on -std=c89 settingOskari Timperi
2017-02-12Make amalgamation depend on mqttOskari Timperi
2017-02-12Implement willOskari Timperi
2017-02-12Implement MqttPacketFreeOskari Timperi
2017-02-12Add all the stuffOskari Timperi