delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/12/25/14:10:16

From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen)
Subject: B20.1: Missing protos for `getpass()' and `NetUserChangePassword()'
25 Dec 1998 14:10:16 -0800 :
Message-ID: <36840853.9BBD8300.cygnus.cygwin32.developers@cityweb.de>
Mime-Version: 1.0
To: cygwin32-developers AT cygnus DOT com

Hi!

The prototypes for `getpass()' and `NetUserChangePassword()'
are missing, although they are present in libcygwin.a and
libnetapi32.a.

Regards,
Corinna

ChangeLog:
==========
Fri Dec 25 20:00:00  Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>

	* libc/include/pwd.h: Added proto for `getpass()'.

	* include/Windows32/CommonFunction.h: Added proto for
	NetUserChangePassword().

------- snip --------
Index: pwd.h
===================================================================
RCS file: /src/cvsroot/newlib/libc/include/pwd.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 pwd.h
--- pwd.h       Fri Dec 25 20:40:28 1998     1.1.1.1
+++ pwd.h       Fri Dec 25 20:41:06 1998
@@ -66,6 +66,8 @@ void           setpwent (void);
 void            endpwent (void);
 #endif

+char            *getpass (const char *);
+
 #ifdef __cplusplus
 }
 #endif
Index: CommonFunctions.h
===================================================================
RCS file: /src/cvsroot/winsup-981223/include/Windows32/CommonFunctions.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 CommonFunctions.h
--- CommonFunctions.h   1998/12/24 00:24:53     1.1.1.1
+++ CommonFunctions.h   1998/12/25 19:38:56
@@ -6755,6 +6755,7 @@ DWORD STDCALL NetUserEnum (LPWSTR, DWORD
                                LPDWORD, LPDWORD);
 DWORD STDCALL NetApiBufferFree (LPVOID);
 DWORD STDCALL NetUserGetInfo (LPWSTR, LPWSTR, DWORD, LPBYTE);
+DWORD STDCALL NetUserChangePassword (LPWSTR, LPWSTR, LPWSTR, LPWSTR);
 DWORD STDCALL NetGetDCName (LPWSTR, LPWSTR, LPBYTE*);
 DWORD STDCALL NetGroupEnum (LPWSTR, DWORD, LPBYTE*, DWORD, LPDWORD,
                                LPDWORD, LPDWORD);

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019