From: Guus Sliepen Date: Tue, 10 Jun 2014 11:31:47 +0000 (+0200) Subject: Move declaration of meshlink_send_from_queue() to meshlink_internal.h. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=9ba6a16d3c748d026f88b9cd96f908e95ef25521;p=meshlink Move declaration of meshlink_send_from_queue() to meshlink_internal.h. --- diff --git a/src/meshlink.h b/src/meshlink.h index f7b3f948..19fd4336 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -22,7 +22,6 @@ #include #include -#include "event.h" #ifdef __cplusplus extern "C" { @@ -197,8 +196,6 @@ extern void meshlink_set_log_cb(meshlink_handle_t *mesh, meshlink_log_level_t le */ extern bool meshlink_send(meshlink_handle_t *mesh, meshlink_node_t *destination, const void *data, unsigned int len); -extern void meshlink_send_from_queue(event_loop_t* el,meshlink_handle_t *mesh); - /// Get a handle for a specific node. /** This function returns a handle for the node with the given name. * diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index 72cf638e..8604acb6 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -129,4 +129,7 @@ typedef struct meshlink_packethdr { uint8_t source[16]; } __attribute__ ((__packed__)) meshlink_packethdr_t; +extern void meshlink_send_from_queue(event_loop_t* el,meshlink_handle_t *mesh); + + #endif // MESHLINK_INTERNAL_H