]> git.meshlink.io Git - meshlink-tiny/blobdiff - src/meshlink-tiny++.h
Remove support for submeshes.
[meshlink-tiny] / src / meshlink-tiny++.h
index eba23aa3776a687d520ec0d94209b4254d569d58..b7893955d82723a5c39f06c6818a1afd7caab31d 100644 (file)
@@ -27,7 +27,6 @@ namespace meshlink {
 class mesh;
 class node;
 class channel;
-class submesh;
 
 /// Severity of log messages generated by MeshLink.
 typedef meshlink_log_level_t log_level_t;
@@ -142,10 +141,6 @@ typedef void (*aio_fd_cb_t)(mesh *mesh, channel *channel, int fd, size_t len, vo
 class node: public meshlink_node_t {
 };
 
-/// A class describing a MeshLink Sub-Mesh.
-class submesh: public meshlink_submesh_t {
-};
-
 /// A class describing a MeshLink channel.
 class channel: public meshlink_channel_t {
 public:
@@ -431,18 +426,6 @@ public:
                return meshlink_get_node_reachability(handle, node, last_reachable, last_unreachable);
        }
 
-       /// Get a handle for a specific submesh.
-       /** This function returns a handle for the submesh with the given name.
-        *
-        *  @param name         The name of the submesh for which a handle is requested.
-        *
-        *  @return             A pointer to a meshlink::submesh which represents the requested submesh,
-        *                      or NULL if the requested submesh does not exist.
-        */
-       submesh *get_submesh(const char *name) {
-               return (submesh *)meshlink_get_submesh(handle, name);
-       }
-
        /// Get a handle for our own node.
        /** This function returns a handle for the local node.
         *