From 076a61f0d9bf60c6063b1569004c1daa24f9aa0c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 15 May 2014 11:16:28 +0000 Subject: * external.cc (cygwin_internal): Implement CW_CYGNAME_FROM_WINNAME. Add lengthy comment to explain what we do and why. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CYGNAME_FROM_WINNAME. --- winsup/cygwin/include/sys/cygwin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/include/sys/cygwin.h') diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 17fa12d43..7e344ecab 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -149,7 +149,8 @@ typedef enum CW_ENDENT, CW_GETNSSSEP, CW_GETPWSID, - CW_GETGRSID + CW_GETGRSID, + CW_CYGNAME_FROM_WINNAME } cygwin_getinfo_types; #define CW_LOCK_PINFO CW_LOCK_PINFO @@ -206,6 +207,7 @@ typedef enum #define CW_GETNSSSEP CW_GETNSSSEP #define CW_GETPWSID CW_GETPWSID #define CW_GETGRSID CW_GETGRSID +#define CW_CYGNAME_FROM_WINNAME CW_CYGNAME_FROM_WINNAME /* Token type for CW_SET_EXTERNAL_TOKEN */ enum -- cgit v1.2.3