summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-02-19 21:27:55 +0100
committerBen Lindstrom <mouring@eviladmin.org>2002-02-19 21:27:55 +0100
commita9c039cf04291cbdb57d4c6200808de9ecb08569 (patch)
treee5d27e6e07944a4567bbcfcc0b193ef6561f5c23 /openbsd-compat/port-aix.h
parent - (bal) Migrate IRIX jobs/projects/audit/etc code to (diff)
downloadopenssh-a9c039cf04291cbdb57d4c6200808de9ecb08569.tar.xz
openssh-a9c039cf04291cbdb57d4c6200808de9ecb08569.zip
- (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 000000000..891b27add
--- /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 */