mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Added client registry, added GUACIO transfer operation
This commit is contained in:
@@ -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