]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.h
Keep private members out of the "public" meshlink structs.
[meshlink] / src / meshlink.h
index 3d9290738791fb2a507ec0843b842965bceca455..538c4a2957db7a29a87e7aa308a7c4398f28aa26 100644 (file)
@@ -89,15 +89,11 @@ extern __thread meshlink_errno_t meshlink_errno;
 
 struct meshlink_handle {
        char *name;
-       char *appname;
-       dev_class_t devclass;
        void *priv;
 };
 
 struct meshlink_node {
        char *name;       ///< Textual name of this node. It is stored in a nul-terminated C string, which is allocated by MeshLink.
-       uint32_t options;
-       dev_class_t devclass;
        void *priv;       ///< Private pointer which may be set freely by the application, and is never used or modified by MeshLink.
 };