aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sysfdsetsize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sysfdsetsize.h')
-rw-r--r--src/lib/sysfdsetsize.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/lib/sysfdsetsize.h b/src/lib/sysfdsetsize.h
new file mode 100644
index 00000000..e3585b22
--- /dev/null
+++ b/src/lib/sysfdsetsize.h
@@ -0,0 +1,36 @@
1/*
2 This file is part of libmicrohttpd
3 Copyright (C) 2015 Karlson2k (Evgeny Grin)
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18*/
19
20/**
21 * @file microhttpd/sysfdsetsize.h
22 * @brief Helper for obtaining FD_SETSIZE system default value
23 * @author Karlson2k (Evgeny Grin)
24 */
25
26#ifndef SYSFDSETSIZE_H
27#define SYSFDSETSIZE_H 1
28
29/**
30 * Get system default value of FD_SETSIZE
31 * @return system default value of FD_SETSIZE
32 */
33int
34get_system_fdsetsize_value (void);
35
36#endif /* !SYSFDSETSIZE_H */