aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-03-18 12:59:32 -0700
committerBen Pfaff <blp@nicira.com>2010-04-12 11:13:04 -0700
commit766407ea9011d347d577a3409acb0f8d34cc72e1 (patch)
tree9a1ec65614e13ae92acb05df59aa77f2fba37a18 /lib/stream.h
parentc6278d208924bb04c41266ddca276712f95533bc (diff)
stream: Generalize stream_open_block().
This change makes it possible to separate opening a stream from blocking on connection completion. This avoids some code redundancy in an upcoming commit.
Diffstat (limited to 'lib/stream.h')
-rw-r--r--lib/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.h b/lib/stream.h
index d21de2f7..8c4e78a3 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -29,7 +29,7 @@ void stream_usage(const char *name, bool active, bool passive, bool bootstrap);
/* Bidirectional byte streams. */
int stream_verify_name(const char *name);
int stream_open(const char *name, struct stream **);
-int stream_open_block(const char *name, struct stream **);
+int stream_open_block(int error, struct stream **);
void stream_close(struct stream *);
const char *stream_get_name(const struct stream *);
uint32_t stream_get_remote_ip(const struct stream *);