mirror of https://github.com/macssh/macssh.git
GUSI 2.1.6b2 update
This commit is contained in:
parent
49269292b0
commit
ae6077f431
|
@ -318,6 +318,8 @@ done:
|
|||
* Let's clear it upon kOTProviderWillClose message.
|
||||
*/
|
||||
|
||||
/* moved to GUSIPatch2.cp : 68k version no longer links otherwise */
|
||||
/*
|
||||
// <Asynchronous notifier function for [[GUSIOTNetDB]]>=
|
||||
inline uint32_t CompleteMask(OTEventCode code)
|
||||
{
|
||||
|
@ -372,6 +374,7 @@ pascal void GUSIOTNetDBNotify(
|
|||
netdb->fAsyncError = result;
|
||||
context->Wakeup();
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
* we need to track open()/dup()/close()/socket() calls to close files/sockets
|
||||
|
|
|
@ -61,8 +61,16 @@ inline uint32_t CompleteMask(OTEventCode code)
|
|||
return 1 << (code & 0x1F);
|
||||
}
|
||||
|
||||
#if UNIVERSAL_INTERFACES_VERSION >= 0x0334
|
||||
pascal void GUSIOTNetDBNotify(
|
||||
void *contextPtr, OTEventCode code, OTResult result, void *cookie)
|
||||
{
|
||||
GUSIOTNetDB * netdb = static_cast<GUSIOTNetDB *>(contextPtr);
|
||||
#else
|
||||
pascal void GUSIOTNetDBNotify(
|
||||
GUSIOTNetDB * netdb, OTEventCode code, OTResult result, void *cookie)
|
||||
{
|
||||
#endif
|
||||
{
|
||||
GUSI_MESSAGE(("GUSIOTNetDBNotify %08x %d\n", code, result));
|
||||
GUSIContext * context = netdb->fCreationContext;
|
||||
|
|
Loading…
Reference in New Issue