Avoid use of size_t in client_subscription interface
Description
Using size_t
in libs2opc_client.h
forces the users of this library to include another include (e.d. stddef.h
).
To make the LibSub more portable, this shall be avoided.
Fixes
This field is dedicated to the bytestring's length, which is an int32_t
in the binary encoding of OPC UA.
Hence, it should be be easily changed from size_t
to int32_t
.
This modification also impacts the PyS2OPC wrapper.