libfilezilla
Loading...
Searching...
No Matches
unix.hpp
Go to the documentation of this file.
1#ifndef LIBFILEZILLA_GLUE_UNIX_HEADER
2#define LIBFILEZILLA_GLUE_UNIX_HEADER
3
7
8#include "../libfilezilla.hpp"
9
10#ifndef FZ_WINDOWS
11
12namespace fz {
13
19bool FZ_PUBLIC_SYMBOL set_cloexec(int fd);
20
29bool FZ_PUBLIC_SYMBOL create_pipe(int fds[2]);
30
35void FZ_PUBLIC_SYMBOL disable_sigpipe();
36
38bool FZ_PUBLIC_SYMBOL create_socketpair(int fds[2]);
39
55int FZ_PUBLIC_SYMBOL send_fd(int socket, fz::buffer & buf, int fd, int & error);
56
66int FZ_PUBLIC_SYMBOL read_fd(int socket, fz::buffer & buf, int &fd, int & error);
67
69int FZ_PUBLIC_SYMBOL set_nonblocking(int fd, bool non_blocking = true);
70
71}
72
73#else
74#error This file is not for Windows
75#endif
76
77#endif
IPv6 capable, non-blocking socket class.
Definition socket.hpp:462
Sets some global macros and further includes string.hpp.
The namespace used by libfilezilla.
Definition apply.hpp:17
@ error
Operationf failed.
Definition aio.hpp:199