summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-02-19 20:27:55 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-02-19 20:27:55 +0000
commita9c039cf04291cbdb57d4c6200808de9ecb08569 (patch)
treee5d27e6e07944a4567bbcfcc0b193ef6561f5c23 /openbsd-compat/port-aix.h
parentf095a8588237010852a3a85f971197a3a5b1d9ae (diff)
- (bal) Migrated AIX getuserattr and usrinfo code to
openbsd-compat/port-aix.[c] to improve readilbity of do_child() and simplify our diffs against upstream source.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
new file mode 100644
index 00000000..891b27ad
--- /dev/null
+++ b/openbsd-compat/port-aix.h
@@ -0,0 +1,10 @@
+#ifdef _AIX
+
+#ifdef HAVE_GETUSERATTR
+void set_limit(char *user, char *soft, char *hard, int resource, int mult);
+void set_limits_from_userattr(char *user);
+#endif /* HAVE_GETUSERATTR */
+
+void aix_usrinfo(Session *s);
+
+#endif /* _AIX */