summaryrefslogtreecommitdiff
path: root/src/net/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/network.h')
-rw-r--r--src/net/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/network.h b/src/net/network.h
index 50638683..db95d7c3 100644
--- a/src/net/network.h
+++ b/src/net/network.h
@@ -47,6 +47,9 @@ void closeConnection();
/** Send and receive data waiting in the buffers */
void flush();
+/** Check if a packet is complete */
+bool packetReady();
+
/**
* Returns the next arriving message, waiting for it if necessary.
*/