From: Guus Sliepen Date: Sat, 21 Jun 2014 10:14:59 +0000 (+0200) Subject: Move definition of outpacketqueue_t from meshlink.h to meshlink_internal.h. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d1f3e4416636bd46665753f5e1acfb0f6f007871;p=meshlink Move definition of outpacketqueue_t from meshlink.h to meshlink_internal.h. --- diff --git a/src/meshlink.h b/src/meshlink.h index c54d35f9..036637b0 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -39,11 +39,6 @@ typedef enum { MESHLINK_ENOMEM, ///< Out of memory MESHLINK_ENOENT, ///< Node is not known } meshlink_errno_t; -typedef struct outpacketqueue { - meshlink_node_t *destination; - const void *data; - unsigned int len; -} outpacketqueue_t; #ifndef MESHLINK_INTERNAL_H diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index 8604acb6..5279a63d 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -49,6 +49,12 @@ typedef enum proxytype_t { PROXY_EXEC, } proxytype_t; +typedef struct outpacketqueue { + meshlink_node_t *destination; + const void *data; + unsigned int len; +} outpacketqueue_t; + /// A handle for an instance of MeshLink. struct meshlink_handle { char *confbase;