projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Add ovsdb-server status to xsconsole vswitch overview
[openvswitch]
/
lib
/
stream.h
diff --git
a/lib/stream.h
b/lib/stream.h
index 7a62a5a374d0284ac0142832b35941e160c92353..e7eef365b4b8d83cb845d999995a5452bb6179b4 100644
(file)
--- a/
lib/stream.h
+++ b/
lib/stream.h
@@
-17,17
+17,14
@@
#ifndef STREAM_H
#define STREAM_H 1
#ifndef STREAM_H
#define STREAM_H 1
-#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
-#include "flow.h"
-
struct pstream;
struct stream;
struct pstream;
struct stream;
-void stream_usage(const char *name, bool active, bool passive);
+void stream_usage(const char *name, bool active, bool passive
, bool bootstrap
);
/* Bidirectional byte streams. */
int stream_open(const char *name, struct stream **);
/* Bidirectional byte streams. */
int stream_open(const char *name, struct stream **);
@@
-42,6
+39,9
@@
int stream_connect(struct stream *);
int stream_recv(struct stream *, void *buffer, size_t n);
int stream_send(struct stream *, const void *buffer, size_t n);
int stream_recv(struct stream *, void *buffer, size_t n);
int stream_send(struct stream *, const void *buffer, size_t n);
+void stream_run(struct stream *);
+void stream_run_wait(struct stream *);
+
enum stream_wait_type {
STREAM_CONNECT,
STREAM_RECV,
enum stream_wait_type {
STREAM_CONNECT,
STREAM_RECV,