Commit 97abb656 authored by Andy Piper's avatar Andy Piper

Improved usage information (e.g. for C++ usage)

parent 7d09e5fd
...@@ -49,6 +49,17 @@ The Paho C client comprises four shared libraries: ...@@ -49,6 +49,17 @@ The Paho C client comprises four shared libraries:
Detailed API documentation is available by building the Doxygen docs in the ``doc`` directory. A [snapshot is also available online](http://www.eclipse.org/paho/files/mqttdoc/Cclient/index.html). Detailed API documentation is available by building the Doxygen docs in the ``doc`` directory. A [snapshot is also available online](http://www.eclipse.org/paho/files/mqttdoc/Cclient/index.html).
Samples are available in the Doxygen docs and also in ``src/samples`` for reference.
Note that using the C headers from a C++ program requires the following declaration as part of the C++ code:
```
extern "C" {
#include "MQTTClient.h"
#include "MQTTClientPersistence.h"
}
```
## Runtime tracing ## Runtime tracing
A number of environment variables control runtime tracing of the C library. A number of environment variables control runtime tracing of the C library.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment