summaryrefslogtreecommitdiff
path: root/rlimit.h
diff options
context:
space:
mode:
Diffstat (limited to 'rlimit.h')
-rw-r--r--rlimit.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rlimit.h b/rlimit.h
index f3c2e3d..a3dbe8d 100644
--- a/rlimit.h
+++ b/rlimit.h
@@ -39,4 +39,15 @@ typedef long rlim_t;
#define RLIMIT_NOFILE RLIMIT_OFILE
#endif
+struct Suffix {
+ const struct Suffix *next;
+ long amount;
+ char *name;
+};
+
+struct Limit {
+ char *name;
+ int flag;
+ const struct Suffix *suffix;
+};
#endif /* HAVE_SETRLIMIT */