diff options
| author | Adam <Adam@anope.org> | 2014-02-05 15:26:03 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2014-02-05 15:26:03 -0500 |
| commit | 66cc965fd736a7785247a6c058c4bfacfe5ea02f (patch) | |
| tree | 93f38cc6dc1d2e187d027a54b392d168b7626e1d /include | |
| parent | 2440514a7b53a43aa2efe8a0ef45f79d7a3710a8 (diff) | |
Ignore nonblocking errnors on socket operations
Diffstat (limited to 'include')
| -rw-r--r-- | include/socketengine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/socketengine.h b/include/socketengine.h index c1dd36536..8772b14a6 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -41,6 +41,11 @@ class CoreExport SocketEngine /** Read from sockets and do things */ static void Process(); + + static int GetLastError(); + static void SetLastError(int); + + static bool IgnoreErrno(); }; #endif // SOCKETENGINE_H |
