3 //=============================================================================
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
8 * @author Jesper S. M|ller<stophph@diku.dk>
9 * @author and a cast of thousands...
11 //=============================================================================
13 #ifndef ACE_OS_NS_PWD_H
14 #define ACE_OS_NS_PWD_H
16 # include /**/ "ace/pre.h"
18 # include "ace/config-all.h"
20 # if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "ace/os_include/os_pwd.h"
25 #include /**/ "ace/ACE_export.h"
27 #if defined (ACE_EXPORT_MACRO)
28 # undef ACE_EXPORT_MACRO
30 #define ACE_EXPORT_MACRO ACE_Export
34 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
38 //@{ @name A set of wrappers for password routines.
40 ACE_NAMESPACE_INLINE_FUNCTION
43 ACE_NAMESPACE_INLINE_FUNCTION
44 struct passwd
*getpwent ();
46 ACE_NAMESPACE_INLINE_FUNCTION
47 struct passwd
*getpwnam (const char *user
);
49 ACE_NAMESPACE_INLINE_FUNCTION
50 int getpwnam_r (const char *name
,
54 struct passwd
**result
);
56 ACE_NAMESPACE_INLINE_FUNCTION
59 } /* namespace ACE_OS */
61 ACE_END_VERSIONED_NAMESPACE_DECL
63 # if defined (ACE_HAS_INLINED_OSCALLS)
64 # if defined (ACE_INLINE)
66 # endif /* ACE_INLINE */
67 # define ACE_INLINE inline
68 # include "ace/OS_NS_pwd.inl"
69 # endif /* ACE_HAS_INLINED_OSCALLS */
71 # include /**/ "ace/post.h"
72 #endif /* ACE_OS_NS_PWD_H */