From d1f3e4416636bd46665753f5e1acfb0f6f007871 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 21 Jun 2014 12:14:59 +0200 Subject: [PATCH] Move definition of outpacketqueue_t from meshlink.h to meshlink_internal.h. --- src/meshlink.h | 5 ----- src/meshlink_internal.h | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) 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; -- 2.39.5