aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-07-31 14:50:09 +0000
committerChristopher Faylor <me@cgf.cx>2013-07-31 14:50:09 +0000
commitb3e59d6710c1a9e0b8a6b703b3a660482050aa87 (patch)
treed53fd3c2169ec1011a893650cb2c508f431ebd22 /winsup/cygwin/winsup.h
parentcc7407f0b20d2d8d81158012e0df637520e3440b (diff)
downloadnewlib-github/callout.zip
newlib-github/callout.tar.gz
newlib-github/callout.tar.bz2
* environ.cc (known): Add preload keyword.github/calloutcallout
* external.cc: Include new callout.h header. (cygwin_internal): Initial implementation of CW_CALLOUT and CW_CYGHEAP_MALLOC. (dll_preload): Handle CYGWIN=preload:foo.dll. (dummy_callout): Default NULL callout function. * globals.cc: Include new callout.h header. (callout): Declare/define. * uname.cc (uname): Initial implementation of callout handling. * winsup.h (dll_preload): Declare. * include/cygwin/version.h: Bump API minor number to 269. * include/sys/cygwin.h: Define CW_CALLOUT, CW_CYGHEAP_MALLOC.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index eb7a423..4ca0e9d 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -198,6 +198,7 @@ void __stdcall close_all_files (bool = false);
extern "C" void error_start_init (const char*);
extern "C" int try_to_debug (bool waitloop = 1);
+extern "C" void dll_preload (const char*);
void ld_preload ();
const char *find_first_notloaded_dll (class path_conv &);