-/// Set the timeout for invitations.
-/** This function sets the timeout for invitations.
- * Note that timeouts are only checked at the time a node tries to join using an invitation.
- * The default timeout for invitations is 1 week.
- *
- * \memberof meshlink_handle
- * @param mesh A handle which represents an instance of MeshLink.
- * @param timeout The timeout for invitations in seconds.
- */
-void meshlink_set_invitation_timeout(struct meshlink_handle *mesh, int timeout);
-
-/// Invite another node into the mesh.
-/** This function generates an invitation that can be used by another node to join the same mesh as the local node.
- * The generated invitation is a string containing a URL.
- * This URL should be passed by the application to the invitee in a way that no eavesdroppers can see the URL.
- * The URL can only be used once, after the user has joined the mesh the URL is no longer valid.
- *
- * \memberof meshlink_handle
- * @param mesh A handle which represents an instance of MeshLink.
- * @param submesh A handle which represents an instance of SubMesh.
- * @param name A nul-terminated C string containing the name that the invitee will be allowed to use in the mesh.
- * After this function returns, the application is free to overwrite or free @a name.
- * @param flags A bitwise-or'd combination of flags that controls how the URL is generated.
- *
- * @return This function returns a nul-terminated C string that contains the invitation URL, or NULL in case of an error.
- * The application should call free() after it has finished using the URL.
- */
-char *meshlink_invite_ex(struct meshlink_handle *mesh, struct meshlink_submesh *submesh, const char *name, uint32_t flags) __attribute__((__warn_unused_result__));
-
-/// Invite another node into the mesh.
-/** This function generates an invitation that can be used by another node to join the same mesh as the local node.
- * The generated invitation is a string containing a URL.
- * This URL should be passed by the application to the invitee in a way that no eavesdroppers can see the URL.
- * The URL can only be used once, after the user has joined the mesh the URL is no longer valid.
- *
- * Calling this function is equal to callen meshlink_invite_ex() with flags set to 0.
- *
- * \memberof meshlink_handle
- * @param mesh A handle which represents an instance of MeshLink.
- * @param submesh A handle which represents an instance of SubMesh.
- * @param name A nul-terminated C string containing the name that the invitee will be allowed to use in the mesh.
- * After this function returns, the application is free to overwrite or free @a name.
- *
- * @return This function returns a nul-terminated C string that contains the invitation URL, or NULL in case of an error.
- * The application should call free() after it has finished using the URL.
- */
-char *meshlink_invite(struct meshlink_handle *mesh, struct meshlink_submesh *submesh, const char *name) __attribute__((__warn_unused_result__));
-
-/// Use an invitation to join a mesh.