2002-12-09 12:30:07 +05:30
|
|
|
#ifndef PROCPS_PROC_PWCACHE_H
|
|
|
|
#define PROCPS_PROC_PWCACHE_H
|
|
|
|
|
2016-04-16 12:33:57 +05:30
|
|
|
#include <features.h>
|
2002-12-09 12:30:07 +05:30
|
|
|
#include <sys/types.h>
|
|
|
|
|
2015-06-20 03:13:02 +05:30
|
|
|
__BEGIN_DECLS
|
2002-12-09 12:30:07 +05:30
|
|
|
|
2004-07-21 05:01:12 +05:30
|
|
|
// used in pwcache and in readproc to set size of username or groupname
|
2014-07-14 19:51:52 +05:30
|
|
|
#define P_G_SZ 33
|
2004-07-21 05:01:12 +05:30
|
|
|
|
2016-06-18 03:47:45 +05:30
|
|
|
char *pwcache_get_user(uid_t uid);
|
|
|
|
char *pwcache_get_group(gid_t gid);
|
2002-12-09 12:30:07 +05:30
|
|
|
|
2015-06-20 03:13:02 +05:30
|
|
|
__END_DECLS
|
2002-12-09 12:30:07 +05:30
|
|
|
|
|
|
|
#endif
|