]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink_internal.h
Move join state out of meshlink_handle_t, and ensure proper cleanup on errors.
[meshlink] / src / meshlink_internal.h
index 6aa871717563e8ea07cf813fd9a5be11fddfae89..8104ba60e4c953489ca1102651d25675d90cd451 100644 (file)
@@ -192,17 +192,6 @@ struct meshlink_handle {
        char *catta_servicetype;
        unsigned int catta_interfaces;
 
-       // State used for meshlink_join()
-       int sock;
-       char cookie[18], hash[18];
-       bool success;
-       sptps_t sptps;
-       char *data;
-       size_t thedatalen;
-       size_t blen;
-       char line[4096];
-       char buffer[4096];
-
        // Proxy configuration, currently not exposed.
        char *proxyhost;
        char *proxyport;