summaryrefslogtreecommitdiff
path: root/include/iohook.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-06-08 12:30:56 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-06-08 12:30:56 +0200
commit68c06dd45fa32466ef924c8d6db9ef6649bf3ff7 (patch)
treee753f3992e0238a3d086449e86b7fb567ae6f3cd /include/iohook.h
parent9b9326ff08565c6cf4acdc865884cc7c1f426822 (diff)
parentf8bd10737457e9775038bda4448ae6bbb75cce74 (diff)
Merge branch 'master+sendq'
Diffstat (limited to 'include/iohook.h')
-rw-r--r--include/iohook.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/iohook.h b/include/iohook.h
index ce7ca2a1b..cf27fcb0c 100644
--- a/include/iohook.h
+++ b/include/iohook.h
@@ -66,11 +66,10 @@ class IOHook : public classbase
* Called when a hooked stream has data to write, or when the socket
* engine returns it as writable
* @param sock The socket in question
- * @param sendq Data to send to the socket
* @return 1 if the sendq has been completely emptied, 0 if there is
* still data to send, and -1 if there was an error
*/
- virtual int OnStreamSocketWrite(StreamSocket* sock, std::string& sendq) = 0;
+ virtual int OnStreamSocketWrite(StreamSocket* sock) = 0;
/** Called immediately before any socket is closed. When this event is called, shutdown()
* has not yet been called on the socket.