port-aix.h (181110) | port-aix.h (181111) |
---|---|
1/* $Id: port-aix.h,v 1.27 2006/09/18 13:54:33 dtucker Exp $ */ | 1/* $Id: port-aix.h,v 1.29 2008/03/09 05:36:55 dtucker Exp $ */ |
2 3/* 4 * 5 * Copyright (c) 2001 Gert Doering. All rights reserved. | 2 3/* 4 * 5 * Copyright (c) 2001 Gert Doering. All rights reserved. |
6 * Copyright (c) 2004, 2005 Darren Tucker. All rights reserved. | 6 * Copyright (c) 2004,2005,2006 Darren Tucker. All rights reserved. |
7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 1. Redistributions of source code must retain the above copyright 12 * notice, this list of conditions and the following disclaimer. 13 * 2. Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in the --- 83 unchanged lines hidden (view full) --- 98# ifdef getnameinfo 99# undef getnameinfo 100# endif 101int sshaix_getnameinfo(const struct sockaddr *, size_t, char *, size_t, 102 char *, size_t, int); 103# define getnameinfo(a,b,c,d,e,f,g) (sshaix_getnameinfo(a,b,c,d,e,f,g)) 104#endif 105 | 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 1. Redistributions of source code must retain the above copyright 12 * notice, this list of conditions and the following disclaimer. 13 * 2. Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in the --- 83 unchanged lines hidden (view full) --- 98# ifdef getnameinfo 99# undef getnameinfo 100# endif 101int sshaix_getnameinfo(const struct sockaddr *, size_t, char *, size_t, 102 char *, size_t, int); 103# define getnameinfo(a,b,c,d,e,f,g) (sshaix_getnameinfo(a,b,c,d,e,f,g)) 104#endif 105 |
106/* 107 * We use getgrset in preference to multiple getgrent calls for efficiency 108 * plus it supports NIS and LDAP groups. 109 */ 110#if !defined(HAVE_GETGROUPLIST) && defined(HAVE_GETGRSET) 111# define HAVE_GETGROUPLIST 112# define USE_GETGRSET 113int getgrouplist(const char *, gid_t, gid_t *, int *); 114#endif 115 |
|
106#endif /* _AIX */ | 116#endif /* _AIX */ |