]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.h
object-oriented interface 1st durchstich, incl. chat program adopted. :-)
[meshlink] / src / meshlink.h
index ee2c3f0ae41e556932c875259750972d9b513719..603dbbd2e42a6004dbdb958b930ba812bfd9f11d 100644 (file)
@@ -117,6 +117,9 @@ extern const char *meshlink_strerror(meshlink_errno_t err);
  */
 extern meshlink_handle_t *meshlink_open(const char *confbase, const char *name);
 
+/// is used by the C++ wrapper to allocate more memory behind the handle
+extern meshlink_handle_t *meshlink_open_with_size(const char *confbase, const char *name, size_t size);
+
 /// Start MeshLink.
 /** This function causes MeshLink to open network sockets, make outgoing connections, and
  *  create a new thread, which will handle all network I/O.