/*==LICENSE==* CyanWorlds.com Engine - MMOG client, server and tools Copyright (C) 2011 Cyan Worlds, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . You can contact Cyan Worlds, Inc. by email legal@cyan.com or by snail mail at: Cyan Worlds, Inc. 14617 N Newport Hwy Mead, WA 99021 *==LICENSE==*/ /***************************************************************************** * * $/Plasma20/Sources/Plasma/NucleusLib/pnAsyncCoreExe/Private/W9x/pnAceW9x.cpp * ***/ #include "../../Pch.h" #pragma hdrstop #include "pnAceW9xInt.h" /**************************************************************************** * * Exported functions * ***/ //=========================================================================== void W9xGetApi (AsyncApi * api) { using namespace W9x; api->initialize = W9xThreadInitialize; api->destroy = W9xThreadDestroy; api->signalShutdown = W9xThreadSignalShutdown; api->waitForShutdown = W9xThreadWaitForShutdown; api->sleep = W9xThreadSleep; api->fileOpen = W9xFileOpen; api->fileClose = W9xFileClose; api->fileRead = W9xFileRead; api->fileWrite = W9xFileWrite; api->fileFlushBuffers = W9xFileFlushBuffers; api->fileSetLastWriteTime = W9xFileSetLastWriteTime; api->fileGetLastWriteTime = W9xFileGetLastWriteTime; api->fileCreateSequence = W9xFileCreateSequence; api->fileSeek = W9xFileSeek; api->socketConnect = W9xSocketConnect; api->socketConnectCancel = W9xSocketConnectCancel; api->socketDisconnect = W9xSocketDisconnect; api->socketDelete = W9xSocketDelete; api->socketSend = W9xSocketSend; api->socketWrite = W9xSocketWrite; api->socketSetNotifyProc = W9xSocketSetNotifyProc; api->socketSetBacklogAlloc = W9xSocketSetBacklogAlloc; api->socketStartListening = W9xSocketStartListening; api->socketStopListening = W9xSocketStopListening; api->socketEnableNagling = W9xSocketEnableNagling; }