18 lines
365 B
C
18 lines
365 B
C
// POSIX password-database declarations backed by posixsrv identity policy.
|
|
|
|
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
#include <ntlite_posix_api.h>
|
|
|
|
struct passwd {
|
|
char* pw_name;
|
|
uid_t pw_uid;
|
|
gid_t pw_gid;
|
|
char* pw_dir;
|
|
char* pw_shell;
|
|
};
|
|
|
|
NTL_POSIX_API struct passwd* getpwnam(const char* name);
|
|
NTL_POSIX_API struct passwd* getpwuid(uid_t uid);
|