This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should check_ntsec() be added to cygwin?


On Thu, Mar 27, 2003 at 04:55:21PM -0500, Christopher Faylor wrote:
> On Thu, Mar 27, 2003 at 03:57:01PM -0500, Jason Tishler wrote:
> >What is the criterion for using cygwin_internal() versus just
> >exporting a function from the DLL?
> 
> We're trying not to add new cygwin_* functions unless there is no
> other alternative.

OK.  Fair enough, I will move forward using the cygwin_internal()
approach.

> >Additionally, I'm concerned that cygwin_internal() requires including
> >windows.h which has caused me problems in the past.
> 
> I don't know why calling cygwin_internal requires windows.h.  I see
> that the sys/cygwin.h defines cygwin_internal only if windows.h is
> included but that's a bug.  I'll fix this.

Thanks.

BTW, cygwin_internal() needs DWORD defined...

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]