build: Actually compile the `blast' helper program.
[fwd] / rlimits.h
CommitLineData
3b7defab 1/* -*-c-*-
2 *
3b7defab 3 * List of resource limits known to mankind
4 *
5 * (c) 1999 Straylight/Edgeware
6 */
7
206212ca 8/*----- Licensing notice --------------------------------------------------*
3b7defab 9 *
10 * This file is part of the `fw' port forwarder.
11 *
12 * `fw' is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
206212ca 16 *
3b7defab 17 * `fw' is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
206212ca 21 *
3b7defab 22 * You should have received a copy of the GNU General Public License
23 * along with `fw'; if not, write to the Free Software Foundation,
24 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 */
26
3b7defab 27/*----- Magic -------------------------------------------------------------*/
28
29#ifndef R
30# error "Don't try including rlimits.h unless you know what you're doing"
31#endif
32
33#if defined(RLIMIT_OFILE) && !defined(RLIMIT_NOFILE)
34# define RLIMIT_NOFILE RLIMIT_OFILE
35#endif
36
47a7631f
MW
37#ifdef RLIMIT_AS
38 R(RLIMIT_AS, as)
39#endif
40#ifdef RLIMIT_CORE
41 R(RLIMIT_CORE, core)
42#endif
3b7defab 43#ifdef RLIMIT_CPU
44 R(RLIMIT_CPU, cpu)
45#endif
47a7631f
MW
46#ifdef RLIMIT_DATA
47 R(RLIMIT_DATA, data)
48#endif
3b7defab 49#ifdef RLIMIT_FSIZE
50 R(RLIMIT_FSIZE, fsize)
51#endif
47a7631f
MW
52#ifdef RLIMIT_LOCKS
53 R(RLIMIT_LOCKS, locks)
3b7defab 54#endif
47a7631f
MW
55#ifdef RLIMIT_MEMLOCK
56 R(RLIMIT_MEMLOCK, memlock)
3b7defab 57#endif
47a7631f
MW
58#ifdef RLIMIT_MSGQUEUE
59 R(RLIMIT_MSGQUEUE, msgqueue)
3b7defab 60#endif
47a7631f
MW
61#ifdef RLIMIT_NICE
62 R(RLIMIT_NICE, nice)
63#endif
64#ifdef RLIMIT_NOFILE
65 R(RLIMIT_NOFILE, nofile)
3b7defab 66#endif
67#ifdef RLIMIT_NPROC
68 R(RLIMIT_NPROC, nproc)
69#endif
47a7631f
MW
70#ifdef RLIMIT_RSS
71 R(RLIMIT_RSS, rss)
3b7defab 72#endif
47a7631f
MW
73#ifdef RLIMIT_RTPRIO
74 R(RLIMIT_RTPRIO, rtprio)
75#endif
76#ifdef RLIMIT_SIGPENDING
77 R(RLIMIT_SIGPENDING, sigpending)
78#endif
79#ifdef RLIMIT_STACK
80 R(RLIMIT_STACK, stack)
3b7defab 81#endif
82#ifdef RLIMIT_VMEM
83 R(RLIMIT_VMEM, vmem)
84#endif
3b7defab 85
86#undef R
87
88/*----- That's all, folks -------------------------------------------------*/