summaryrefslogtreecommitdiff
path: root/lib/stream-unix.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-unix.c
parente0668bd1d448d6f17c20b9c7ba91344180809061 (diff)
downloadopenvswitch-539e96f62300e4afab00e5906a28e3b89301d62e.tar.gz
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-unix.c')
-rw-r--r--lib/stream-unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stream-unix.c b/lib/stream-unix.c
index 9046da154..6ce7790b5 100644
--- a/lib/stream-unix.c
+++ b/lib/stream-unix.c
@@ -69,6 +69,8 @@ struct stream_class unix_stream_class = {
NULL, /* connect */
NULL, /* recv */
NULL, /* send */
+ NULL, /* run */
+ NULL, /* run_wait */
NULL, /* wait */
};