-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* environ.cc (known): Add preload keyword.
* 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.
- Loading branch information
Christopher Faylor
committed
Jul 31, 2013
1 parent
309eaeb
commit 4f756d6
Showing
9 changed files
with
90 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* callout.h -- Definitions used by Cygwin callout mechanism | ||
Copyright 2013 Red Hat, Inc. | ||
This file is part of Cygwin. | ||
This software is a copyrighted work licensed under the terms of the | ||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for | ||
details. */ | ||
|
||
#pragma once | ||
|
||
extern "C" { | ||
enum cw_callout_t | ||
{ | ||
CO_ENV, | ||
CO_SPAWN, | ||
CO_SYMLINK, | ||
CO_UNAME | ||
}; | ||
|
||
enum cw_callout_return_t | ||
{ | ||
CO_R_ERROR, | ||
CO_R_KEEP_GOING, | ||
CO_R_SHORT_CIRCUIT | ||
}; | ||
|
||
typedef cw_callout_return_t (*cw_callout_function_t) (cw_callout_t, ...); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters