From 539e96f62300e4afab00e5906a28e3b89301d62e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 6 Jan 2010 14:26:48 -0800 Subject: 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. --- lib/stream-unix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/stream-unix.c') 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 */ }; -- cgit v1.2.1