]> git.meshlink.io Git - meshlink/commitdiff
Move definition of outpacketqueue_t from meshlink.h to meshlink_internal.h.
authorGuus Sliepen <guus@meshlink.io>
Sat, 21 Jun 2014 10:14:59 +0000 (12:14 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sat, 21 Jun 2014 10:14:59 +0000 (12:14 +0200)
src/meshlink.h
src/meshlink_internal.h

index c54d35f9038d05d6928c8174fc59e8743b93dd03..036637b08cadb6c3ec693cccbedd2c25bd3eda50 100644 (file)
@@ -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
 
index 8604acb64051ff928a5a7deb13d242b24e6956cb..5279a63dd0a332ede229b795f97670fde2d0faff 100644 (file)
@@ -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;