X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/ef85512e51f043d73788f00a2aed13cccde0682c..d133cf839421462280ac0bfd9bd84c591f0e0249:/nt/inc/pwd.h diff --git a/nt/inc/pwd.h b/nt/inc/pwd.h index 31c0df7ec3..54e477e966 100644 --- a/nt/inc/pwd.h +++ b/nt/inc/pwd.h @@ -5,24 +5,25 @@ */ struct passwd { - char *pw_name; - char *pw_passwd; - int pw_uid; - int pw_gid; - int pw_quota; - char *pw_gecos; - char *pw_dir; - char *pw_shell; + char *pw_name; + char *pw_passwd; + unsigned pw_uid; /* Vista's TrustedInstaller has a very large RID */ + unsigned pw_gid; + int pw_quota; + char *pw_gecos; + char *pw_dir; + char *pw_shell; }; -typedef int uid_t; +typedef unsigned uid_t; typedef uid_t gid_t; -struct passwd * getpwnam (char *); -struct passwd * getpwuid (int); +extern unsigned getuid (void); +extern unsigned geteuid (void); + +extern struct passwd * getpwnam (char *); +extern struct passwd * getpwuid (unsigned); #endif /* _PWD_H_ */ -/* arch-tag: 68308424-cb2b-49ed-bb52-b347fee416bf - (do not change this comment) */