aboutsummaryrefslogtreecommitdiff
path: root/lib/stream-tcp.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-01-06 14:26:48 -0800
committerBen Pfaff <blp@nicira.com>2010-01-06 14:26:48 -0800
commit539e96f62300e4afab00e5906a28e3b89301d62e (patch)
treed91d559866c7a32d48613d2cae3a8b52c56bdb36 /lib/stream-tcp.c
parente0668bd1d448d6f17c20b9c7ba91344180809061 (diff)
stream: Add stream_run(), stream_run_wait() functions.
SSL, which will be added in an upcoming commit, requires some background processing, which is best done in a "run" function in our architecture. This commit adds stream_run() and stream_run_wait() and calls to them from the places where they will be required.
Diffstat (limited to 'lib/stream-tcp.c')
-rw-r--r--lib/stream-tcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c
index 947be9f1..bfcf35c7 100644
--- a/lib/stream-tcp.c
+++ b/lib/stream-tcp.c
@@ -90,6 +90,8 @@ struct stream_class tcp_stream_class = {
NULL, /* connect */
NULL, /* recv */
NULL, /* send */
+ NULL, /* run */
+ NULL, /* run_wait */
NULL, /* wait */
};