[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] Using C++ with the Paho C client library
|
Roger,
what about the elements of the connectOptions, willOptions and
SSLOptions structures, for instance?
Ian
On 17/05/13 10:51, Roger Light wrote:
Hi,
To add const to the C API it seems to me I would have to a) be inconsistent
in its use, b) make the API harder to read, c) break previous C programs by
requiring them to add casts d) describe the inconsistent use of const in the
docs to fend off future re-discussions.
char** is not cryptic for C!
If the effort was limited to the "char *" case then only a) above
would apply. I may be wrong, but I believe the only cases where "char
**" is an issue is the MQTTAsync_subscribeMany() and
MQTTAsync_unsubscribeMany() functions (and their synchronous
counterparts).
Cheers,
Roger
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/paho-dev