git://developer.intra2net.com
/
libt2n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
libt2n, info_mqueue_ui: (tomj) fix generated code for functions without return type...
[libt2n]
/
src
/
connection.hxx
diff --git
a/src/connection.hxx
b/src/connection.hxx
index
94c3123
..
60ea862
100644
(file)
--- a/
src/connection.hxx
+++ b/
src/connection.hxx
@@
-74,6
+74,8
@@
class connection
bool get_packet(std::string& data);
+ unsigned int peek_packet(std::string& data);
+
/// returns true if a complete data packet is in the buffer. retrieve it with get_packet().
bool packet_available()
{ return bytes_available(); }