diff --git a/qrexec-lib/Makefile b/qrexec-lib/Makefile index d068260..1b34c48 100644 --- a/qrexec-lib/Makefile +++ b/qrexec-lib/Makefile @@ -11,7 +11,7 @@ endif all: libqrexec-utils.so.$(SO_VER) libqubes-rpc-filecopy.so.$(SO_VER) -libqrexec-utils.so.$(SO_VER): unix-server.o ioall.o buffer.o write-stdin.o exec.o txrx-vchan.o +libqrexec-utils.so.$(SO_VER): unix-server.o ioall.o buffer.o exec.o txrx-vchan.o $(CC) $(LDFLAGS) -Wl,-soname,$@ -o $@ $^ $(XENLIBS) libqubes-rpc-filecopy.so.$(SO_VER): ioall.o copy-file.o crc32.o unpack.o $(CC) $(LDFLAGS) -Wl,-soname,$@ -o $@ $^ diff --git a/qrexec-lib/libqrexec-utils.h b/qrexec-lib/libqrexec-utils.h index 6feeb44..b4f3204 100644 --- a/qrexec-lib/libqrexec-utils.h +++ b/qrexec-lib/libqrexec-utils.h @@ -51,14 +51,4 @@ void set_block(int fd); int get_server_socket(const char *); int do_accept(int s); -enum { - WRITE_STDIN_OK = 0x200, - WRITE_STDIN_BUFFERED, - WRITE_STDIN_ERROR -}; - -int flush_client_data(libvchan_t *vchan, int fd, int client_id, struct buffer *buffer); -int write_stdin(libvchan_t *vchan, int fd, int client_id, const char *data, int len, - struct buffer *buffer); void set_nonblock(int fd); -int fork_and_flush_stdin(int fd, struct buffer *buffer);