OpenNet
|
This class maintains information about an adapter on the OpenNet internal network. More...
#include <Adapter.h>
Classes | |
struct | BufferInfo |
DirectGMA Buffer information. This structur is not documented and may change or disapear in futur version. More... | |
Public Member Functions | |
void | FileCleanup (void *aFileObject) |
Cleanup on file close. More... | |
void | SetHardware (Hardware *aHardware) |
Connect the Hardware instance. More... | |
void | SetOSDep (OpenNetK_OSDep *aOSDep) |
Set the OSDep structure. More... | |
unsigned int | Event_GetPendingCount () const |
Does some events pending? More... | |
void | Event_RegisterCallback (Event_Callback aCallback, void *aContext) |
Register an event callback. More... | |
Static Public Member Functions | |
static bool | IoCtl_GetInfo (unsigned int aCode, OpenNetK_IoCtl_Info *aInfo) |
Retrieve information about an IoCtl code. More... | |
This class maintains information about an adapter on the OpenNet internal network.
unsigned int OpenNetK::Adapter::Event_GetPendingCount | ( | ) | const |
Does some events pending?
void OpenNetK::Adapter::Event_RegisterCallback | ( | Event_Callback | aCallback, |
void * | aContext | ||
) |
Register an event callback.
aCallback | The function to call |
aContext | The context to pass to the function |
void OpenNetK::Adapter::FileCleanup | ( | void * | aFileObject | ) |
Cleanup on file close.
aFileObject | The closing file |
|
static |
Retrieve information about an IoCtl code.
aCode | The IoCtl code |
aInfo | The output buffer |
false | Error |
true | OK |
void OpenNetK::Adapter::SetHardware | ( | Hardware * | aHardware | ) |
void OpenNetK::Adapter::SetOSDep | ( | OpenNetK_OSDep * | aOSDep | ) |
Set the OSDep structure.
aOSDep | The OSDep structure |