]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.h
Don't allow meshlink_join() when the storage policy is DISABLED.
[meshlink] / src / meshlink.h
index 3be94710309da0a13c36b231578456156279b8fc..7960d31051426dc927bc53aaf308a1b272916895 100644 (file)
@@ -1106,6 +1106,7 @@ char *meshlink_invite(struct meshlink_handle *mesh, struct meshlink_submesh *sub
  *  After a successfully accepted invitation, the name of the local node may have changed.
  *
  *  This function may only be called on a mesh that has not been started yet and which is not already part of an existing mesh.
+ *  It is not valid to call this function when the storage policy set to MESHLINK_STORAGE_DISABLED.
  *
  *  This function is blocking. It can take several seconds before it returns.
  *  There is no guarantee it will perform a successful join.