X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios-stream.c;h=340d27f7a59263af59ae01ec0a25f06f42289d02;hb=759c441577f2a3b1510f341eec122a993fdb7c9f;hp=f49b668c982654f74bfe06f0f69e726bdcaca98c;hpb=c79291850ac3605c924a2c5e9617028038bb8f63;p=palacios-OLD.git diff --git a/linux_module/palacios-stream.c b/linux_module/palacios-stream.c index f49b668..340d27f 100644 --- a/linux_module/palacios-stream.c +++ b/linux_module/palacios-stream.c @@ -7,13 +7,12 @@ #include #include -#include +#include #include "palacios-stream.h" -#include "palacios-ringbuf.h" static struct list_head global_streams; -int stream_enqueue(struct stream_buffer * stream, char * buf, int len) { +static int stream_enqueue(struct stream_buffer * stream, char * buf, int len) { int bytes = 0; bytes = ringbuf_write(stream->buf, buf, len); @@ -35,6 +34,12 @@ int stream_datalen(struct stream_buffer * stream){ } +int open_stream(const char * name) { + return -1; +} + + + struct stream_buffer * find_stream_by_name(struct v3_guest * guest, const char * name) { struct stream_buffer * stream = NULL; struct list_head * stream_list = NULL;