Added client registry, added GUACIO transfer operation
This commit is contained in:
1 parent
96b94f60e9
commit
16d335aa19
5 files changed
+217
-7
No files matched your search
@@ -49,12 +49,20 @@ GUACIO* guac_open(int fd) {
|
||||
io->instructionbuf_used_length = 0;
|
||||
|
||||
/* Set limit */
|
||||
io->transfer_limit = 256;
|
||||
io->transfer_limit = 0;
|
||||
|
||||
return io;
|
||||
|
||||
}
|
||||
|
||||
void guac_transfer(GUACIO* io, int fd) {
|
||||
|
||||
guac_flush(io);
|
||||
close(fd);
|
||||
io->fd = fd;
|
||||
|
||||
}
|
||||
|
||||
void guac_close(GUACIO* io) {
|
||||
guac_flush(io);
|
||||
free(io);
|
||||
|
||||
Reference in new issue
Block a user